/* =========================================================
   JM Motors — Frontend Single Vehicle
   Font: Montserrat | Palette: #0d0d0d / #161616 / #e8ff01
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.jmv-page {
  font-family: 'Montserrat', sans-serif;
  background:  #0d0d0d;
  color:       #f0f0f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height:  100vh;
}

.jmv-container {
  max-width: 1200px;
  margin:    0 auto;
  padding:   0 24px;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.jmv-breadcrumb {
  display:     flex;
  align-items: center;
  gap:         8px;
  padding:     20px 24px;
  font-size:   13px;
  color:       #888;
}
.jmv-breadcrumb a {
  color:           #888;
  text-decoration: none;
  transition:      color .15s;
}
.jmv-breadcrumb a:hover { color: #e8ff01; }
.jmv-breadcrumb__sep { color: #444; }
.jmv-breadcrumb__current { color: #f0f0f0; font-weight: 600; }

/* ── Badge ───────────────────────────────────────────────── */
.jmv-badge {
  display:        inline-block;
  padding:        4px 12px;
  border:         1px solid #e8ff01;
  color:          #e8ff01;
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius:  2px;
}

.jmv-badge--overlay {
  position: absolute;
  top:      16px;
  left:     16px;
  z-index:  2;
  background: rgba(13,13,13,.85);
}

/* ── Main layout ─────────────────────────────────────────── */
.jmv-main { padding-bottom: 80px; }

.jmv-layout {
  display:               grid;
  grid-template-columns: 55% 45%;
  gap:                   32px;
  align-items:           start;
  margin-bottom:         48px;
}

/* ── Gallery ─────────────────────────────────────────────── */
.jmv-gallery { display: flex; flex-direction: column; gap: 12px; }

.jmv-gallery__main {
  position:      relative;
  border-radius: 10px !important;
  overflow:      hidden !important;
  background:    #161616 !important;
  border:        none !important;
  aspect-ratio:  16 / 10;
  cursor:        zoom-in;
}

.jmv-gallery__main-img {
  width:      100% !important;
  height:     100% !important;
  max-width:  100% !important;
  object-fit: cover !important;
  display:    block !important;
  border:     none !important;
  border-radius: 0 !important;
  margin:     0 !important;
  transition: transform .3s ease;
}
.jmv-gallery__main:hover .jmv-gallery__main-img { transform: scale(1.02); }

.jmv-gallery__thumbs {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap:                   8px;
}

.jmv-thumb {
  display:       block !important;
  border:        2px solid transparent !important;
  border-radius: 6px !important;
  box-shadow:    none !important;
  overflow:      hidden !important;
  cursor:        pointer;
  background:    #161616 !important;
  padding:       0 !important;
  margin:        0;
  width:         100%;
  aspect-ratio:  16 / 10;
  transition:    border-color .15s;
}
.jmv-thumb img {
  width:         100% !important;
  height:        100% !important;
  max-width:     100% !important;
  object-fit:    cover !important;
  display:       block !important;
  border:        none !important;
  margin:        0 !important;
}
.jmv-thumb.is-active,
.jmv-thumb:hover,
.jmv-thumb:focus { border-color: #e8ff01 !important; }

/* ── Info panel ──────────────────────────────────────────── */
.jmv-specs {
  background:    #161616;
  border:        1px solid #2a2a2a;
  border-radius: 10px;
  padding:       28px;
}

.jmv-specs__top {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  margin-bottom:   16px;
}

.jmv-specs__year { font-size: 14px; color: #888; font-weight: 500; }

.jmv-specs__brand {
  display:        block;
  font-size:      12px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color:          #888;
  margin-bottom:  6px;
}

.jmv-specs__title-main {
  font-size:      28px;
  font-weight:    800;
  line-height:    1.1;
  color:          #fff;
  letter-spacing: -.5px;
  margin-bottom:  16px;
}

.jmv-specs__price {
  font-size:      34px;
  font-weight:    800;
  color:          #e8ff01;
  letter-spacing: -1px;
  margin-bottom:  24px;
}
.jmv-specs__price span { font-size: 16px; font-weight: 600; color: #999; letter-spacing: 0; }
.jmv-specs__price-from { display: block; font-size: 12px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }

.jmv-specs__grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   12px;
  margin-bottom:         24px;
}

.jmv-spec-box {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  background:     #1a1a1a;
  border:         1px solid #2a2a2a;
  border-radius:  8px;
  padding:        14px 16px;
}

.jmv-spec-box__label {
  font-size:   12px;
  color:       #888;
  font-weight: 500;
}

.jmv-spec-box__value {
  font-size:   15px;
  font-weight: 700;
  color:       #f0f0f0;
}

/* ── CTA button ──────────────────────────────────────────── */
.jmv-cta-btn {
  display:         block !important;
  width:           100% !important;
  background:      #e8ff01 !important;
  color:           #0d0d0d !important;
  text-align:      center !important;
  text-decoration: none !important;
  font-family:     'Montserrat', sans-serif !important;
  font-size:       13px !important;
  font-weight:     700 !important;
  text-transform:  uppercase !important;
  letter-spacing:  .5px;
  padding:         16px 24px !important;
  margin:          0;
  border:          none !important;
  border-radius:   6px !important;
  box-shadow:      none !important;
  text-shadow:     none !important;
  cursor:          pointer;
  transition:      opacity .15s, transform .1s;
}
.jmv-cta-btn:hover,
.jmv-cta-btn:focus  { background: #e8ff01 !important; color: #0d0d0d !important; opacity: .85; transform: translateY(-1px); }
.jmv-cta-btn:active { transform: translateY(0); }

.jmv-cta-btn--secondary {
  width:   auto !important;
  display: inline-block !important;
}

/* ── Finanziamento + Descrizione (tabs) ───────────────── */
.jmv-tabs-block {
  background:    #161616;
  border:        1px solid #2a2a2a;
  border-radius: 10px;
  padding:       32px;
  margin-bottom: 48px;
}

.jmv-tabs-nav {
  display:       flex;
  gap:           32px;
  margin:        -32px -32px 32px;
  padding:       0 32px;
  border-bottom: 1px solid #2a2a2a;
  overflow-x:    auto;
  overflow-y:    hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.jmv-tabs-nav::-webkit-scrollbar { display: none; }

.jmv-tab-btn {
  display:         inline-block !important;
  background:      none !important;
  border:          none !important;
  border-bottom:   2px solid transparent !important;
  border-radius:   0 !important;
  box-shadow:      none !important;
  text-shadow:     none !important;
  color:           #888 !important;
  cursor:          pointer;
  font-family:     'Montserrat', sans-serif !important;
  font-size:       13px !important;
  font-weight:     700 !important;
  letter-spacing:  1px;
  text-transform:  uppercase !important;
  text-decoration: none !important;
  padding:         18px 0 !important;
  margin:          0;
  width:           auto !important;
  flex-shrink:     0;
  white-space:     nowrap;
  transition:      color .15s, border-color .15s;
}
.jmv-tab-btn:hover,
.jmv-tab-btn:focus     { color: #ccc !important; }
.jmv-tab-btn.is-active { color: #e8ff01 !important; border-color: #e8ff01 !important; }

.jmv-tab-panel { display: none; }
.jmv-tab-panel.is-active { display: block; }

.jmv-financing__sub {
  font-size:     14px;
  color:         #888;
  margin-top:    -16px;
  margin-bottom: 28px;
}

.jmv-financing__row {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   20px;
  margin-bottom:         24px;
}

.jmv-financing__field { display: flex; flex-direction: column; gap: 8px; }

.jmv-financing__field label {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:          #888;
}

.jmv-financing__field input {
  background:    #1a1a1a;
  border:        1px solid #2a2a2a;
  border-radius: 6px;
  color:         #f0f0f0;
  font-family:   'Montserrat', sans-serif;
  font-size:     14px;
  padding:       12px 14px;
  transition:    border-color .15s;
}
.jmv-financing__field input:focus { outline: none; border-color: #e8ff01; }
.jmv-financing__field input::placeholder { color: #555; }

.jmv-financing__field select {
  background:    #1a1a1a url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23888' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E") no-repeat right 14px center;
  border:        1px solid #2a2a2a;
  border-radius: 6px;
  color:         #f0f0f0;
  font-family:   'Montserrat', sans-serif;
  font-size:     14px;
  padding:       12px 36px 12px 14px;
  appearance:    none;
  -webkit-appearance: none;
  cursor:        pointer;
  transition:    border-color .15s;
}
.jmv-financing__field select:focus { outline: none; border-color: #e8ff01; }
.jmv-financing__row--noleggio { grid-template-columns: repeat(3, 1fr); }

.jmv-financing__result {
  background:    #1a1a1a;
  border:        1px solid #2a2a2a;
  border-radius: 8px;
  padding:       20px 24px;
  margin-bottom: 24px;
}

.jmv-financing__result-label {
  display:        block;
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:          #888;
  margin-bottom:  8px;
}

.jmv-financing__result-value {
  font-size:   32px;
  font-weight: 800;
  color:       #e8ff01;
  letter-spacing: -1px;
}
.jmv-financing__result-value span {
  font-size:   14px;
  font-weight: 500;
  color:       #888;
  letter-spacing: normal;
}

.jmv-financing__result-note {
  font-size:  12px;
  color:      #555;
  margin-top: 8px;
}
.jmv-financing__result-note--warn { color: #e8ff01; }

/* ── Section titles ──────────────────────────────────────── */
.jmv-section-title {
  font-size:      20px;
  font-weight:    700;
  color:          #f0f0f0;
  margin-bottom:  24px;
  padding-left:   14px;
  border-left:    3px solid #e8ff01;
  letter-spacing: -.3px;
}

/* ── Description (inside tab panel) ────────────────── */
.jmv-description__body {
  font-size:   15px;
  color:       #ccc;
  line-height: 1.8;
}

/* ── Contact form (inside tab panel) ─────────────────────── */
.jmv-contact__inner { max-width: 720px; }

.jmv-contact__sub {
  font-size:     14px;
  color:         #888;
  margin-bottom: 32px;
  margin-top:    -16px;
}

.jmv-form__row {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   16px;
  margin-bottom:         16px;
}

.jmv-form__field {
  display:       flex;
  flex-direction: column;
  gap:           8px;
  margin-bottom: 16px;
}
.jmv-form__field:last-child { margin-bottom: 0; }

.jmv-form__field label {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:          #888;
}

.jmv-form__field input,
.jmv-form__field textarea {
  background:    #1a1a1a;
  border:        1px solid #2a2a2a;
  border-radius: 6px;
  color:         #f0f0f0;
  font-family:   'Montserrat', sans-serif;
  font-size:     14px;
  padding:       12px 14px;
  transition:    border-color .15s;
  width:         100%;
}
.jmv-form__field input:focus,
.jmv-form__field textarea:focus { outline: none; border-color: #e8ff01; }
.jmv-form__field input::placeholder,
.jmv-form__field textarea::placeholder { color: #444; }
.jmv-form__field textarea { resize: vertical; }

.jmv-form__footer {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             20px;
  margin-top:      24px;
  flex-wrap:       wrap;
}

.jmv-form__privacy {
  font-size: 11px;
  color:     #555;
  flex:      1;
  min-width: 200px;
}

.jmv-submit-btn {
  background:     #e8ff01 !important;
  border:         none !important;
  border-radius:  6px !important;
  color:          #0d0d0d !important;
  cursor:         pointer;
  font-family:    'Montserrat', sans-serif !important;
  font-size:      13px !important;
  font-weight:    700 !important;
  letter-spacing: .5px;
  padding:        14px 32px !important;
  text-transform: uppercase;
  transition:     opacity .15s, transform .1s;
  white-space:    nowrap;
  box-shadow:     none !important;
  text-shadow:    none !important;
  outline:        none;
}
.jmv-submit-btn:hover,
.jmv-submit-btn:focus   { background: #e8ff01 !important; color: #0d0d0d !important; opacity: .85; transform: translateY(-1px); }
.jmv-submit-btn:active  { transform: translateY(0); }
.jmv-submit-btn:disabled { opacity: .5 !important; cursor: not-allowed; transform: none; }

/* ── Form messages ───────────────────────────────────────── */
.jmv-form-message {
  padding:       14px 18px;
  border-radius: 6px;
  font-size:     14px;
  font-weight:   500;
  margin-bottom: 20px;
}
.jmv-form-message--success { background: rgba(232,255,1,.08); border: 1px solid #e8ff01; color: #e8ff01; }
.jmv-form-message--error   { background: rgba(220,0,50,.08);  border: 1px solid #e05;    color: #e05; }

/* ── Lightbox ────────────────────────────────────────────── */
.jmv-lightbox {
  position:        fixed;
  inset:           0;
  z-index:         99999;
  background:      rgba(0,0,0,.95);
  display:         flex;
  align-items:     center;
  justify-content: center;
  animation:       jmvFade .15s ease;
}

@keyframes jmvFade { from { opacity: 0 } to { opacity: 1 } }

.jmv-lightbox__img-wrap {
  max-width:  90vw;
  max-height: 85vh;
}
.jmv-lightbox__img-wrap img {
  max-width:     100%;
  max-height:    85vh;
  object-fit:    contain;
  border-radius: 4px;
  display:       block;
}

.jmv-lightbox__close {
  position:   absolute;
  top:        20px; right: 24px;
  background: none; border: none;
  color:      #fff; font-size: 36px;
  cursor:     pointer; line-height: 1; padding: 0;
  transition: color .15s;
}
.jmv-lightbox__close:hover { color: #e8ff01; }

.jmv-lightbox__arrow {
  position:   absolute;
  top:        50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border:     none;
  border-radius: 50%;
  color:      #fff;
  font-size:  32px;
  width:      52px; height: 52px;
  cursor:     pointer;
  transition: background .15s;
  display:    flex; align-items: center; justify-content: center;
}
.jmv-lightbox__arrow:hover    { background: rgba(232,255,1,.15); color: #e8ff01; }
.jmv-lightbox__arrow--prev    { left:  20px; }
.jmv-lightbox__arrow--next    { right: 20px; }

.jmv-lightbox__counter {
  position:  absolute;
  bottom:    24px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: #666; letter-spacing: 1px;
}

/* ── Potrebbe interessarti anche ─────────────────────────── */
.jmv-related { margin-bottom: 48px; }

.jmv-related__header {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
}
.jmv-related__header .jmv-section-title { margin-bottom: 0; }

.jmv-related__all {
  font-size:       12px !important;
  font-weight:     700 !important;
  letter-spacing:  1px;
  text-transform:  uppercase !important;
  color:           #e8ff01 !important;
  text-decoration: none !important;
  white-space:     nowrap;
}
.jmv-related__all:hover { opacity: .8; }

.jmv-related__grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
  margin-top:            24px;
}

.jmv-related-card {
  display:         block;
  background:      #161616;
  border:          1px solid #2a2a2a;
  border-radius:   10px;
  overflow:        hidden;
  text-decoration: none;
  transition:      border-color .15s, transform .15s;
}
.jmv-related-card:hover { border-color: #e8ff01; transform: translateY(-2px); }

.jmv-related-card__img {
  aspect-ratio: 16 / 10;
  background:   #1a1a1a;
  overflow:     hidden;
}
.jmv-related-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.jmv-related-card__body {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  padding:        16px 18px 20px;
}

.jmv-related-card__brand {
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 1px;
  color:          #888;
}

.jmv-related-card__title {
  font-size:   15px;
  font-weight: 700;
  color:       #f0f0f0;
}

.jmv-related-card__price {
  font-size:      16px;
  font-weight:    800;
  color:          #e8ff01;
  margin-top:     4px;
  letter-spacing: -.3px;
}

/* =========================================================
   Archivio veicoli (/veicoli)
   ========================================================= */

.jma-hero {
  padding-top:    56px;
  padding-bottom: 40px;
  border-bottom:  1px solid #1e1e1e;
}

.jma-hero__overline {
  display:        block;
  font-size:      12px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color:          #e8ff01;
  margin-bottom:  8px;
}

.jma-hero__title {
  font-size:      40px;
  font-weight:    800;
  color:          #fff;
  letter-spacing: -1px;
  margin-bottom:  10px;
}

.jma-hero__count { font-size: 14px; color: #888; }

.jma-main { padding-top: 32px; padding-bottom: 80px; }

/* ── Tabs tipo veicolo ───────────────────────────────────── */
.jma-tabs {
  display:       flex;
  flex-wrap:     wrap;
  gap:           12px;
  margin-bottom: 28px;
}

.jma-tab {
  background:      #161616 !important;
  border:          1px solid #2a2a2a !important;
  border-radius:   6px !important;
  box-shadow:      none !important;
  text-shadow:     none !important;
  color:           #aaa !important;
  cursor:          pointer;
  font-family:     'Montserrat', sans-serif !important;
  font-size:       12px !important;
  font-weight:     700 !important;
  letter-spacing:  1px;
  text-transform:  uppercase !important;
  text-decoration: none !important;
  padding:         12px 22px !important;
  margin:          0;
  transition:      background .15s, color .15s, border-color .15s;
}
.jma-tab:hover  { color: #f0f0f0 !important; border-color: #444 !important; }
.jma-tab.is-active {
  background:   #e8ff01 !important;
  border-color: #e8ff01 !important;
  color:        #0d0d0d !important;
}

/* ── Layout: sidebar + risultati ─────────────────────────── */
.jma-layout {
  display:               grid;
  grid-template-columns: 240px 1fr;
  gap:                   32px;
  align-items:           start;
}

.jma-filters {
  display:        flex;
  flex-direction: column;
  gap:            24px;
}

.jma-filter { display: flex; flex-direction: column; gap: 8px; }

.jma-filter label {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:          #888;
}

.jma-filter select {
  background:    #1a1a1a;
  border:        1px solid #2a2a2a;
  border-radius: 6px;
  color:         #f0f0f0;
  font-family:   'Montserrat', sans-serif;
  font-size:     13px;
  font-weight:   600;
  padding:       12px 14px;
  transition:    border-color .15s;
}
.jma-filter select:focus { outline: none; border-color: #e8ff01; }

/* ── Griglia risultati ───────────────────────────────────── */
.jma-results { position: relative; }

.jma-loader {
  position:        absolute;
  inset:           0;
  z-index:         5;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(13,13,13,.6);
  border-radius:   10px;
  opacity:         0;
  pointer-events:  none;
  transition:      opacity .15s;
}
.jma-loader.is-active { opacity: 1; pointer-events: all; }

.jma-spinner {
  width:         36px;
  height:        36px;
  border:        3px solid #2a2a2a;
  border-top-color: #e8ff01;
  border-radius: 50%;
  animation:     jmaSpin .7s linear infinite;
}

@keyframes jmaSpin { to { transform: rotate(360deg); } }

.jma-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

/* ── Vehicle slider (shortcodes [jm_veicoli_evidenza] / [jm_veicoli_ultimi]) ── */
.jma-slider { padding: 32px 0; }
.jma-slider__title {
  font-size:      22px;
  font-weight:    800;
  color:          #f0f0f0;
  margin:         0 0 20px;
  letter-spacing: -.3px;
}
.jma-slider__viewport { position: relative; }
.jma-slider__track {
  display:        flex;
  gap:            20px;
  overflow-x:     auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.jma-slider__track::-webkit-scrollbar { display: none; }
.jma-slider__slide {
  flex:           0 0 280px;
  scroll-snap-align: start;
}
.jma-slider__nav {
  position:      absolute !important;
  top:           50% !important;
  transform:     translateY(-50%) !important;
  z-index:       2 !important;
  width:         40px !important;
  height:        40px !important;
  min-width:     40px !important;
  padding:       0 !important;
  margin:        0 !important;
  border-radius: 50% !important;
  border:        1px solid #2a2a2a !important;
  background:    #161616 !important;
  color:         #f0f0f0 !important;
  font-size:     16px !important;
  line-height:   1 !important;
  cursor:        pointer !important;
  display:       flex !important;
  align-items:   center !important;
  justify-content: center !important;
  transition:    border-color .15s, color .15s !important;
  box-shadow:    none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.jma-slider__nav:hover,
.jma-slider__nav:focus {
  border-color: #e8ff01 !important;
  color:        #e8ff01 !important;
  background:   #161616 !important;
}
.jma-slider__nav--prev { left: -20px !important; }
.jma-slider__nav--next { right: -20px !important; }

@media (max-width: 782px) {
  .jma-slider__slide  { flex-basis: 220px; }
  .jma-slider__nav    { display: none; }
}

.jma-card {
  display:         block;
  background:      #161616;
  border:          1px solid #2a2a2a;
  border-radius:   10px;
  overflow:        hidden;
  text-decoration: none;
  transition:      border-color .15s, transform .15s;
}
.jma-card:hover { border-color: #e8ff01; transform: translateY(-2px); }

.jma-card__img {
  position:     relative;
  aspect-ratio: 16 / 10;
  background:   #1a1a1a;
  overflow:     hidden;
}
.jma-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.jma-card__badge {
  position:       absolute;
  top:            12px;
  left:           12px;
  z-index:        2;
  background:     rgba(13,13,13,.85);
  border:         1px solid #e8ff01;
  border-radius:  2px;
  color:          #e8ff01;
  font-size:      10px;
  font-weight:    700;
  letter-spacing: 1.5px;
  padding:        4px 10px;
}

.jma-card__body {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  padding:        16px 18px 18px;
}

.jma-card__brand {
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 1px;
  color:          #888;
}

.jma-card__title {
  font-size:   16px;
  font-weight: 700;
  color:       #f0f0f0;
}

.jma-card__meta {
  font-size:  12px;
  color:      #777;
  margin-top: 6px;
}
.jma-card__dot { color: #444; }

.jma-card__footer {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             12px;
  margin-top:      14px;
  padding-top:     14px;
  border-top:      1px solid #222;
}

.jma-card__price {
  font-size:      17px;
  font-weight:    800;
  color:          #e8ff01;
  letter-spacing: -.3px;
}
.jma-card__price-suffix {
  font-size:      12px;
  font-weight:    500;
  color:          #888;
  letter-spacing: normal;
}
.jma-card__price-from {
  font-size:      11px;
  font-weight:    600;
  color:          #888;
  letter-spacing: normal;
  text-transform: lowercase;
}

.jma-card__details {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:          #e8ff01;
  white-space:    nowrap;
}

.jma-empty {
  font-size:   14px;
  color:       #888;
  text-align:  center;
  padding:     48px 0;
}

.jma-load-more {
  display:         block;
  margin:          32px auto 0;
  background:      transparent !important;
  border:          1px solid #2a2a2a !important;
  border-radius:   6px !important;
  box-shadow:      none !important;
  text-shadow:     none !important;
  color:           #f0f0f0 !important;
  cursor:          pointer;
  font-family:     'Montserrat', sans-serif !important;
  font-size:       12px !important;
  font-weight:     700 !important;
  letter-spacing:  1px;
  text-transform:  uppercase !important;
  padding:         14px 36px !important;
  transition:      border-color .15s, color .15s;
}
.jma-load-more:hover     { border-color: #e8ff01 !important; color: #e8ff01 !important; }
.jma-load-more:disabled  { opacity: .5; cursor: not-allowed; }

.jma-cta {
  margin:        40px auto 0;
  max-width:     420px;
  text-align:    center;
}
.jma-cta__text {
  font-size:   14px;
  color:       #aaa;
  line-height: 1.5;
  margin:      0 0 16px;
}
.jma-cta__btn {
  width:   auto !important;
  display: inline-block !important;
  padding: 14px 32px !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .jmv-layout { grid-template-columns: 1fr; }
  .jmv-specs  { position: static; }
  .jmv-specs__title-main { font-size: 24px; }
  .jmv-specs__price      { font-size: 28px; }
  .jmv-related__grid { grid-template-columns: repeat(2, 1fr); }
  .jma-layout { grid-template-columns: 1fr; }
  .jma-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .jmv-form__row       { grid-template-columns: 1fr; }
  .jmv-financing__row  { grid-template-columns: 1fr; }
  .jmv-specs__grid     { grid-template-columns: 1fr; }
  .jmv-breadcrumb      { padding: 16px; flex-wrap: wrap; }
  .jmv-form__footer    { flex-direction: column; align-items: stretch; }
  .jmv-submit-btn      { text-align: center; }
  .jmv-tabs-nav        { gap: 20px; margin: -20px -20px 24px; padding: 0 20px; }
  .jmv-tabs-block      { padding: 20px; }
  .jmv-related__grid   { grid-template-columns: 1fr; }
  .jmv-related__header { flex-direction: column; align-items: flex-start; }
  .jma-hero__title     { font-size: 30px; }
  .jma-grid            { grid-template-columns: 1fr; }
}
