/* =============================================================================
   Motoplus v2 — Frontend Styles
   ============================================================================= */

:root {
  --mp-accent:      #e63946;
  --mp-btn:         #e63946;
  --mp-btn-text:    #ffffff;
  --mp-page-bg:     #f9fafb;
  --mp-card-bg:     #ffffff;
  --mp-border:      #e5e7eb;
  --mp-text:        #111827;
  --mp-muted:       #6b7280;
  --mp-btn-radius:  8px;
  --mp-card-radius: 12px;
  --mp-shadow:      0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.07);
  --mp-shadow-lg:   0 4px 6px rgba(0,0,0,.05), 0 10px 40px rgba(0,0,0,.12);
  --mp-trans:       all .2s ease;
}

.mp-wrap *, .mp-single * { box-sizing: border-box; }
.mp-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; color: var(--mp-text); max-width: 1200px; margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.mp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--mp-btn-radius); font-size: 14px;
  font-weight: 600; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: var(--mp-trans); white-space: nowrap;
}
.mp-btn--primary { background: var(--mp-btn); color: var(--mp-btn-text); border-color: var(--mp-btn); }
.mp-btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); color: var(--mp-btn-text); }
.mp-btn--ghost { background: transparent; color: var(--mp-text); border-color: var(--mp-border); }
.mp-btn--ghost:hover { border-color: var(--mp-accent); color: var(--mp-accent); }
.mp-btn--whatsapp { background: #25d366; color: #fff !important; border-color: #25d366; display: inline-flex; align-items: center; gap: 6px; }
.mp-btn--whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.35); }
.mp-btn--wide { width: 100%; }

/* ── Filter bar ──────────────────────────────────────────────────────────── */
.mp-filter-bar { background: var(--mp-card-bg); border: 1px solid var(--mp-border); border-radius: var(--mp-card-radius); padding: 16px 20px; margin-bottom: 16px; box-shadow: var(--mp-shadow); }
.mp-search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mp-search-field { flex: 1; min-width: 200px; }
.mp-search-field input { width: 100%; padding: 11px 14px; border: 1px solid var(--mp-border); border-radius: var(--mp-btn-radius); font-size: 15px; background: var(--mp-page-bg); color: var(--mp-text); outline: none; transition: border-color .2s; }
.mp-search-field input:focus { border-color: var(--mp-accent); background: #fff; }

.mp-filters { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mp-border); }
.mp-filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; }
.mp-filter-group { display: flex; flex-direction: column; gap: 4px; }
.mp-filter-group label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-muted); }
.mp-filter-group input, .mp-filter-group select { padding: 9px 10px; border: 1px solid var(--mp-border); border-radius: var(--mp-btn-radius); font-size: 14px; background: var(--mp-page-bg); color: var(--mp-text); width: 100%; transition: border-color .2s; }
.mp-filter-group input:focus, .mp-filter-group select:focus { border-color: var(--mp-accent); outline: none; }
.mp-filter-footer { display: flex; gap: 8px; }

/* ── Results bar ─────────────────────────────────────────────────────────── */
.mp-results-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.mp-count { font-size: 14px; color: var(--mp-muted); font-weight: 500; }
.mp-sort-toggle { display: flex; align-items: center; gap: 8px; }
#mp-sort { padding: 8px 12px; border: 1px solid var(--mp-border); border-radius: var(--mp-btn-radius); font-size: 14px; background: var(--mp-card-bg); color: var(--mp-text); }
.mp-view-toggle { display: flex; gap: 4px; }
.mp-view-btn { width: 36px; height: 36px; border: 1px solid var(--mp-border); background: var(--mp-card-bg); border-radius: var(--mp-btn-radius); cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: center; color: var(--mp-muted); transition: var(--mp-trans); }
.mp-view-btn.active, .mp-view-btn:hover { border-color: var(--mp-accent); color: var(--mp-accent); }

/* ── Grid ────────────────────────────────────────────────────────────────── */
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; transition: opacity .25s; }
.mp-grid.mp-loading { opacity: .45; pointer-events: none; }
.mp-grid.mp-list-view { grid-template-columns: 1fr; }

/* ── Card ────────────────────────────────────────────────────────────────── */
.mp-card { background: var(--mp-card-bg); border-radius: var(--mp-card-radius); border: 1px solid var(--mp-border); box-shadow: var(--mp-shadow); transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.mp-card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow-lg); }
.mp-card-img { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--mp-page-bg); flex-shrink: 0; }
.mp-card-img img, .mp-card-img .mp-no-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mp-card:hover .mp-card-img img { transform: scale(1.04); }
.mp-no-image { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--mp-muted); font-size: 36px; }
.mp-card-body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.mp-card-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.mp-card-title a { color: var(--mp-text); text-decoration: none; }
.mp-card-title a:hover { color: var(--mp-accent); }
.mp-card-price { font-size: 22px; font-weight: 800; color: var(--mp-price, var(--mp-accent)); margin-bottom: 10px; line-height: 1.1; }
.mp-prev-price { font-size: 14px; font-weight: 500; color: var(--mp-muted); text-decoration: line-through; margin-right: 6px; }
.mp-wrap ul.mp-card-specs,
ul.mp-card-specs {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    flex: 1;
    align-content: flex-start;
}
.mp-wrap ul.mp-card-specs li,
ul.mp-card-specs li,
.mp-card-specs li {
    list-style: none !important;
    list-style-type: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}
.mp-wrap ul.mp-card-specs li::before,
.mp-wrap ul.mp-card-specs li::after,
ul.mp-card-specs li::before,
ul.mp-card-specs li::after,
.mp-card-specs li::before,
.mp-card-specs li::after {
    display: none !important;
    content: none !important;
}
.mp-wrap ul.mp-card-specs li::marker,
ul.mp-card-specs li::marker,
.mp-card-specs li::marker {
    display: none !important;
    content: none !important;
}
.mp-card-specs li { font-size: 13px; color: var(--mp-muted); }
.mp-card-actions { display: flex; gap: 8px; margin-top: auto; }
.mp-card-actions .mp-btn { flex: 1; font-size: 13px; padding: 9px 12px; }

/* List view overrides */
.mp-list-view .mp-card { display: grid; grid-template-columns: 240px 1fr; flex-direction: unset; }
.mp-list-view .mp-card-img { aspect-ratio: unset; height: 100%; min-height: 170px; }
.mp-list-view .mp-card-body { display: flex; flex-direction: column; flex: 1; }
.mp-list-view .mp-card-specs { flex: 1; align-content: flex-start; }
.mp-list-view .mp-card-actions { margin-top: auto; }
.mp-list-view .mp-card-actions .mp-btn { flex: 0 1 auto; }
@media(max-width:600px) { .mp-list-view .mp-card { grid-template-columns: 1fr; } .mp-list-view .mp-card-img { min-height: 0; aspect-ratio: 16/10; } }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.mp-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; pointer-events: none; display: inline-block; line-height: 1.4; z-index: 2; }
.mp-badge--reserved    { background: #f59e0b; color: #fff; }
.mp-badge--sold        { background: #374151; color: #fff; }
.mp-badge--coming-soon { background: #8b5cf6; color: #fff; }
.mp-badge--reduced     { background: #10b981; color: #fff; }
.mp-badge--new         { background: var(--mp-accent); color: #fff; }
.mp-badge--featured    { background: #3b82f6; color: #fff; }
.mp-badge--overlay     { top: 16px; left: 16px; font-size: 12px; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.mp-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--mp-muted); }
.mp-empty span { font-size: 48px; display: block; margin-bottom: 14px; }
.mp-empty p { font-size: 16px; margin-bottom: 20px; }

/* =============================================================================
   Single Vehicle Page
   ============================================================================= */
.mp-single {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--mp-text);
}

/* Breadcrumb */
.mp-breadcrumb { padding: 14px 0 10px; }
.mp-breadcrumb a { font-size: 13px; font-weight: 600; color: var(--mp-accent); text-decoration: none; }
.mp-breadcrumb a:hover { text-decoration: underline; }

/* ── Title bar ── */
/* ── Two-column body ── */
.mp-single-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
@media(max-width:960px) { .mp-single-body { grid-template-columns: 1fr; } }

/* ── Gallery ── */
.mp-gallery-wrap { margin-bottom: 20px; }
.mp-gallery-stage { position: relative; border-radius: var(--mp-card-radius); overflow: hidden; background: #1a1a1a; line-height: 0; }
.mp-gallery-stage img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.mp-img-badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; display: inline-block; line-height: 1.4; z-index: 2; }
.mp-img-badge--reserved    { background: #f59e0b; color: #fff; }
.mp-img-badge--sold        { background: #374151; color: #fff; }
.mp-img-badge--coming-soon { background: #8b5cf6; color: #fff; }
.mp-img-badge--reduced     { background: #16a34a; color: #fff; }
.mp-img-badge--new         { background: var(--mp-accent); color: #fff; }
.mp-img-counter { position: absolute; bottom: 12px; right: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.mp-thumb-strip { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0 4px; }
.mp-thumb-btn { width: 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .6; transition: opacity .15s, border-color .15s; flex-shrink: 0; }
.mp-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-thumb-btn:hover { opacity: .85; }
.mp-thumb-btn.is-active { opacity: 1; border-color: var(--mp-accent); }
/* ── Gallery arrow navigation ── */
.mp-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background .2s; backdrop-filter: blur(4px); }
.mp-gallery-arrow:hover { background: rgba(0,0,0,.75); }
.mp-gallery-arrow--prev { left: 10px; }
.mp-gallery-arrow--next { right: 10px; }
.mp-gallery-arrow:disabled { opacity: .3; cursor: default; }


/* Key spec strip */
.mp-keyspec-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--mp-border); border: 1px solid var(--mp-border); border-radius: var(--mp-card-radius); overflow: hidden; margin-bottom: 24px; }
.mp-keyspec-item { background: var(--mp-card-bg); padding: 14px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.mp-keyspec-icon { display: flex; align-items: center; justify-content: center; color: var(--mp-muted); line-height: 1; }
.mp-keyspec-val  { font-size: 14px; font-weight: 700; color: var(--mp-text); line-height: 1.2; }
.mp-keyspec-label{ font-size: 11px; color: var(--mp-muted); text-transform: uppercase; letter-spacing: .05em; }
@media(max-width:580px){ .mp-keyspec-strip { grid-template-columns: repeat(2,1fr); } }

/* Description & spec blocks */
.mp-description-block,
.mp-fullspec-block,
.mp-video-block {
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-card-radius);
  padding: 24px 26px;
  margin-bottom: 24px;
}
.mp-description-block h2,
.mp-fullspec-block h2,
.mp-video-block h2 { font-size: 17px; font-weight: 700; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--mp-border); }
.mp-description-body { font-size: 15px; line-height: 1.75; color: #374151; }
.mp-spec-group { margin-bottom: 20px; }
.mp-spec-group:last-child { margin-bottom: 0; }
.mp-spec-group h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mp-muted); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--mp-border); }
.mp-spec-tbl { width: 100%; border-collapse: collapse; }
.mp-spec-tbl tr { border-bottom: 1px solid #f1f5f9; }
.mp-spec-tbl tr:last-child { border-bottom: none; }
.mp-spec-tbl td { padding: 9px 4px; font-size: 14px; vertical-align: middle; }
.mp-spec-tbl td:first-child { color: var(--mp-muted); width: 46%; }
.mp-spec-tbl td:last-child  { font-weight: 600; }

/* ── Sticky Sidebar ── */
.mp-single-right { position: relative; }
.mp-sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media(max-width:960px) { .mp-sidebar-sticky { position: static; } }

/* Price card */
.mp-price-card { background: var(--mp-card-bg); border: 1px solid var(--mp-border); border-radius: var(--mp-card-radius); overflow: hidden; }
.mp-price-card__price { padding: 18px 20px 14px; border-bottom: 1px solid var(--mp-border); }
.mp-price-was  { display: block; font-size: 14px; color: var(--mp-muted); text-decoration: line-through; margin-bottom: 2px; }
.mp-price-main { display: block; font-size: 34px; font-weight: 900; color: var(--mp-price, var(--mp-accent)); line-height: 1; letter-spacing: -.02em; }
.mp-price-finance { font-size: 12px; font-weight: 600; color: var(--mp-muted); margin-top: 6px; }
.mp-cta-call, .mp-cta-enquire, .mp-cta-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 14px 20px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: filter .15s;
}
.mp-cta-call    { background: #1e293b; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.mp-cta-call:hover    { filter: brightness(1.2); color: #fff; }
.mp-cta-whatsapp { background: #25d366; color: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.mp-cta-whatsapp:hover { filter: brightness(1.08); color: #fff; }
.mp-cta-enquire { background: var(--mp-btn); color: var(--mp-btn-text); }
.mp-cta-enquire:hover { filter: brightness(1.08); color: var(--mp-btn-text); }

/* Highlights card */
.mp-highlights-card { background: var(--mp-card-bg); border: 1px solid var(--mp-border); border-radius: var(--mp-card-radius); padding: 18px 20px; }
.mp-highlights-card h3, .mp-quickspec-card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--mp-muted); margin: 0 0 12px; }
.mp-highlights-card ul { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 7px; }
.mp-highlights-card li { display: flex !important; align-items: center !important; gap: 10px !important; font-size: 13px; font-weight: 600; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 8px 12px; border-radius: 6px; list-style: none !important; }
.mp-highlights-card li::before, .mp-highlights-card li::marker { display: none !important; content: none !important; }
.mp-highlights-card li span { font-size: 16px; line-height: 1; }

/* Quick spec card */
.mp-quickspec-card { background: var(--mp-card-bg); border: 1px solid var(--mp-border); border-radius: var(--mp-card-radius); padding: 18px 20px; }
.mp-qs-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.mp-qs-row:last-child { border-bottom: none; }
.mp-qs-row span   { color: var(--mp-muted); }
.mp-qs-row strong { font-weight: 600; text-align: right; }

/* ── Enquiry section ── */
.mp-enquiry-section { background: var(--mp-card-bg); border: 1px solid var(--mp-border); border-radius: var(--mp-card-radius); overflow: hidden; margin-bottom: 32px; }
.mp-enquiry-inner  { padding: 32px 36px; }
@media(max-width:640px){ .mp-enquiry-inner { padding: 24px 20px; } }
.mp-enquiry-header { margin-bottom: 24px; }
.mp-enquiry-header h2 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.mp-enquiry-header p  { font-size: 14px; color: var(--mp-muted); margin: 0; }
.mp-form-row  { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 16px; }
@media(max-width:640px){ .mp-form-row { grid-template-columns: 1fr; } }
.mp-form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 0; }
.mp-form-field label { font-size: 13px; font-weight: 600; color: #374151; }
.mp-form-field label span { color: var(--mp-accent); }
.mp-form-field input, .mp-form-field textarea { padding: 11px 13px; border: 1px solid var(--mp-border); border-radius: var(--mp-btn-radius); font-size: 14px; width: 100%; color: var(--mp-text); background: var(--mp-page-bg); transition: border-color .2s, box-shadow .2s; }
.mp-form-field input:focus, .mp-form-field textarea:focus { border-color: var(--mp-accent); outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(230,57,70,.1); }
.mp-form-field textarea { resize: vertical; min-height: 110px; margin-bottom: 16px; }
.mp-form-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mp-submit-btn { background: var(--mp-btn); color: var(--mp-btn-text); border: none; border-radius: var(--mp-btn-radius); padding: 13px 32px; font-size: 15px; font-weight: 700; cursor: pointer; transition: filter .15s, transform .15s; }
.mp-submit-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mp-form-note  { font-size: 13px; color: var(--mp-muted); margin: 0; }
.mp-lead-result { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; border-radius: 8px; }
.mp-lead-result.success { color: #166534; background: #f0fdf4; border: 1px solid #86efac; }
.mp-lead-result.error   { color: #b91c1c; background: #fef2f2; border: 1px solid #fca5a5; padding: 12px 16px; }

/* ── Similar ── */
.mp-similar-section { margin-bottom: 32px; }
.mp-similar-section h2 { font-size: 18px; font-weight: 800; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--mp-border); }

/* ── Mobile sticky bar ── */
.mp-mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; }
.mp-mobile-sticky__call     { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-size: 14px; font-weight: 700; text-decoration: none; background: #1e293b; color: #fff; }
.mp-mobile-sticky__whatsapp { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-size: 14px; font-weight: 700; text-decoration: none; background: #25d366; color: #fff; }
.mp-mobile-sticky__enquire  { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-size: 14px; font-weight: 700; text-decoration: none; background: var(--mp-accent); color: #fff; }
@media(max-width:960px){ .mp-mobile-sticky { display: flex; } }
@media(min-width:961px){ .mp-mobile-sticky { display: none !important; } }

/* Coming soon placeholder */
.mp-coming-soon-img { width:100%; height:100%; object-fit:cover; display:block; }
.mp-card-img .mp-coming-soon-img { position:absolute; inset:0; }

/* Cards per row from settings */
#mp-stock-wrap .mp-grid { grid-template-columns: repeat(var(--mp-grid-cols, 3), 1fr); }
#mp-stock-wrap .mp-grid.mp-list-view { grid-template-columns: 1fr !important; }
@media(max-width:768px){ #mp-stock-wrap .mp-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media(max-width:480px){ #mp-stock-wrap .mp-grid { grid-template-columns: 1fr !important; } }

/* SVG spec icons */
.mp-card-specs li svg, .mp-keyspec-icon svg { display: inline-block; vertical-align: middle; flex-shrink: 0; color: var(--mp-muted); }
.mp-card-specs li { display: inline-flex !important; align-items: center !important; gap: 5px !important; font-size: 13px; color: var(--mp-muted); }
.mp-card-specs li span { line-height: 1; }
.mp-keyspec-icon { display: flex; align-items: center; justify-content: center; color: var(--mp-muted); line-height: 1; }
.mp-single-titlebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 20px;
  border-bottom: 2px solid var(--mp-border);
  margin-bottom: 24px;
}
.mp-single-titlebar__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.mp-single-h1 { font-size: clamp(20px,3.5vw,30px); font-weight: 800; margin: 0; line-height: 1.2; letter-spacing: -.02em; flex: 1; min-width: 0; }
.mp-single-titlebar__price { text-align: right; flex-shrink: 0; }
.mp-was-price  { font-size: 14px; color: var(--mp-muted); text-decoration: line-through; margin-bottom: 2px; display: block; }
.mp-sale-price { font-size: clamp(28px,5vw,40px); font-weight: 900; color: var(--mp-price, var(--mp-accent)); line-height: 1; letter-spacing: -.02em; display: block; }
.mp-saving     { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; background: #dcfce7; color: #166534; padding: 2px 9px; border-radius: 10px; }
.mp-single-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mp-status-pill { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.mp-status-pill--in-stock    { background: #dcfce7; color: #166534; }
.mp-status-pill--reserved    { background: #fef9c3; color: #854d0e; }
.mp-status-pill--sold        { background: #f1f5f9; color: #475569; }
.mp-status-pill--coming-soon { background: #ede9fe; color: #5b21b6; }
.mp-listed-badge { font-size: 12px; font-weight: 500; color: var(--mp-muted); white-space: nowrap; }

/* Description & spec blocks */
.mp-description-block,
.mp-fullspec-block,
.mp-video-block {
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-card-radius);
  padding: 24px 26px;
  margin-bottom: 24px;
}
.mp-description-block h2,
.mp-fullspec-block h2,
.mp-video-block h2 { font-size: 17px; font-weight: 700; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--mp-border); }
.mp-description-body { font-size: 15px; line-height: 1.75; color: #374151; }
.mp-spec-group { margin-bottom: 20px; }
.mp-spec-group:last-child { margin-bottom: 0; }
.mp-spec-group h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mp-muted); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--mp-border); }
.mp-spec-tbl { width: 100%; border-collapse: collapse; }
.mp-spec-tbl tr { border-bottom: 1px solid #f1f5f9; }
.mp-spec-tbl tr:last-child { border-bottom: none; }
.mp-spec-tbl td { padding: 9px 4px; font-size: 14px; vertical-align: middle; }
.mp-spec-tbl td:first-child { color: var(--mp-muted); width: 46%; }
.mp-spec-tbl td:last-child  { font-weight: 600; }

/* ── Filter Bar Widget [motoplus_filter_bar] ────────────────────────────────── */
.mp-filter-bar-widget { width: 100%; }
.mp-fbw-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--mp-border,#e5e7eb); border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.mp-fbw--horizontal .mp-fbw-form { flex-wrap: nowrap; }
.mp-fbw-field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 120px; }
.mp-fbw-field--keyword { flex: 2; min-width: 180px; }
.mp-fbw-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mp-muted,#888); }
.mp-fbw-input-wrap { position: relative; }
.mp-fbw-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #aaa; pointer-events: none; }
.mp-fbw-input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--mp-border,#e5e7eb); border-radius: 8px; font-size: 14px; color: var(--mp-text,#111); outline: none; transition: border-color .15s; background: #fafafa; box-sizing: border-box; }
.mp-fbw-input:focus { border-color: var(--mp-accent,#e63946); background: #fff; }
.mp-fbw-select { width: 100%; padding: 9px 12px; border: 1px solid var(--mp-border,#e5e7eb); border-radius: 8px; font-size: 14px; color: var(--mp-text,#111); outline: none; transition: border-color .15s; background: #fafafa; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; box-sizing: border-box; }
.mp-fbw-select:focus { border-color: var(--mp-accent,#e63946); background-color: #fff; }
.mp-fbw-btn-wrap { flex-shrink: 0; }
.mp-fbw-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: none; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: filter .15s, transform .15s; white-space: nowrap; height: 40px; }
.mp-fbw-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Stacked layout for narrow containers */
.mp-fbw--stacked .mp-fbw-form { flex-direction: column; }
.mp-fbw--stacked .mp-fbw-field { min-width: 100%; }

@media (max-width: 900px) {
    .mp-fbw--horizontal .mp-fbw-form { flex-wrap: wrap; }
    .mp-fbw--horizontal .mp-fbw-field { min-width: calc(50% - 5px); }
}
@media (max-width: 480px) {
    .mp-fbw-field, .mp-fbw--horizontal .mp-fbw-field { min-width: 100%; }
    .mp-fbw-btn-wrap { width: 100%; }
    .mp-fbw-btn { width: 100%; justify-content: center; }
}

/* ── Motoplus Slider ─────────────────────────────────────────────────────── */
.mp-slider-wrap { position: relative; }

/* Equal-height cards — stretch all slides to tallest */
.mp-swiper { overflow: hidden; }
.mp-swiper .swiper-wrapper { align-items: stretch; }
.mp-swiper .swiper-slide { display: flex; flex-direction: column; height: auto; }
.mp-swiper .swiper-slide .mp-card { flex: 1; display: flex; flex-direction: column; }
.mp-swiper .swiper-slide .mp-card .mp-card-body { flex: 1; }
.mp-swiper .swiper-slide .mp-card .mp-card-footer { margin-top: auto; }

/* Controls row: [←]  [• • •]  [→] */
.mp-slider-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; margin-top: 20px;
}

/* Arrow buttons */
.mp-swiper-btn {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
    border: 1.5px solid var(--mp-slider-accent,#e63946);
    background: #fff; color: var(--mp-slider-accent,#e63946);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .18s, color .18s, transform .18s, box-shadow .18s;
    box-shadow: 0 2px 8px rgba(0,0,0,.07); padding: 0;
}
.mp-swiper-btn:hover { background: var(--mp-slider-accent,#e63946); color: #fff; transform: scale(1.08); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.mp-swiper-btn:active { transform: scale(0.96); }
.mp-swiper-btn.swiper-button-disabled { opacity: .3; pointer-events: none; }
.mp-swiper-btn svg { display: block; pointer-events: none; }

/* Dots */
.mp-swiper-dots.swiper-pagination { position: static !important; width: auto !important; flex: 1; max-width: 160px; display: flex !important; align-items: center; justify-content: center; gap: 6px; }
.mp-swiper-dots .swiper-pagination-bullet { background: #d1d5db; opacity: 1; width: 8px; height: 8px; margin: 0 !important; transition: all .2s; }
.mp-swiper-dots .swiper-pagination-bullet-active { background: var(--mp-slider-accent,#e63946); width: 24px; border-radius: 4px; }

@media (max-width: 600px) {
    .mp-swiper-btn { width: 36px; height: 36px; }
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.mp-lightbox { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; }
.mp-lightbox-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.92); cursor:pointer; }
.mp-lightbox-inner { position:relative; z-index:1; display:flex; align-items:center; gap:12px; max-width:96vw; max-height:96vh; }
.mp-lightbox-img-wrap { display:flex; align-items:center; justify-content:center; max-width:calc(96vw - 120px); max-height:90vh; }
.mp-lightbox-img { display:block; max-width:100%; max-height:88vh; object-fit:contain; border-radius:6px; box-shadow:0 8px 40px rgba(0,0,0,.6); }
.mp-lightbox-close {
    position:absolute; top:-40px; right:0; background:rgba(255,255,255,.15); border:none;
    color:#fff; font-size:20px; width:36px; height:36px; border-radius:50%; cursor:pointer;
    display:flex; align-items:center; justify-content:center; transition:background .15s;
}
.mp-lightbox-close:hover { background:rgba(255,255,255,.3); }
.mp-lightbox-nav {
    flex-shrink:0; width:48px; height:48px; border-radius:50%; border:2px solid rgba(255,255,255,.3);
    background:rgba(255,255,255,.1); color:#fff; font-size:32px; line-height:1;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .15s, border-color .15s; backdrop-filter:blur(4px);
}
.mp-lightbox-nav:hover { background:rgba(255,255,255,.25); border-color:rgba(255,255,255,.6); }
.mp-lightbox-counter {
    position:absolute; bottom:-32px; left:50%; transform:translateX(-50%);
    color:rgba(255,255,255,.7); font-size:13px; font-weight:600; white-space:nowrap;
}
body.mp-lightbox-open { overflow:hidden; }
@media (max-width:600px) {
    .mp-lightbox-nav { width:36px; height:36px; font-size:24px; }
    .mp-lightbox-img-wrap { max-width:calc(100vw - 100px); }
}

/* ── Finance Calculator ──────────────────────────────────────────────────── */
.mp-finance-calc-section { margin:40px 0; padding:32px; background:var(--mp-card-bg,#fff); border:1px solid var(--mp-border,#e5e7eb); border-radius:var(--mp-card-radius,12px); }
.mp-finance-calc-section h2 { font-size:20px; font-weight:700; margin:0 0 20px; }
.mp-finance-calc-embed { width:100%; overflow:hidden; }
.mp-finance-calc-embed iframe { width:100%; border:none; border-radius:8px; }

/* ── Honeypot — visually removed, present for bots ────────────────────────── */
.mp-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
