/* TruTrade homepage demo, restored from b410cf1d~1 and restyled */
    /* 15. TRUTRADE SHOWROOM MODULE & INTERACTIVE DEMO */
    .tdx-tradein-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }
    @media (max-width: 960px) {
      .tdx-tradein-split {
        grid-template-columns: 1fr;
        gap: 36px;
      }
    }
    .tdx-tradein-features {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin: 24px 0;
    }
    .tdx-tradein-feat {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 16px;
      background: #0B0E14 !important;
      border: 1px solid #1C2333 !important;
      border-radius: 14px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .tdx-tradein-feat:hover {
      background: #10141D !important;
      border-color: #283247 !important;
      transform: translateX(3px);
    }
    .tdx-feat-pip {
      width: 6px !important;
      height: 6px !important;
      border-radius: 50% !important;
      background: #56E1E9 !important;
      box-shadow: 0 0 6px #56E1E9 !important;
      margin-top: 6px !important;
      flex-shrink: 0 !important;
    }

    /* THE MINI TRUTRADE MODULE (CLIENT-SITE PROPORTIONED WIDGET) */
    .tdx-tradein-demo-wrap {
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
    }
    .trutrade-mini-module {
      background: #0B0E14 !important;
      border: 1px solid #1F2636 !important;
      border-radius: 24px;
      padding: 24px;
      box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
      position: relative;
    }
    .tt-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid #1C2333;
    }
    .tt-brand {
      font-size: 16px;
      font-weight: 800;
      color: #FFFFFF;
      letter-spacing: -0.02em;
    }
    .tt-sub {
      display: block;
      font-size: 11px;
      color: #64748B;
      font-family: var(--font-mono, monospace);
    }
    /* Strictly adheres to single titanium pill rule (Dark Titanium surface, crisp border, no cyan-tinted background) */
    .tt-status {
      display: inline-flex !important;
      align-items: center !important;
      gap: 7px !important;
      background: #141923 !important;
      border: 1px solid #262D3D !important;
      border-radius: 9999px !important;
      padding: 4px 12px !important;
      font-size: 11px !important;
      font-weight: 600 !important;
      color: #CBD5E1 !important;
      font-family: var(--font-mono, monospace) !important;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    .tt-live-pip {
      width: 6px !important;
      height: 6px !important;
      border-radius: 50% !important;
      background: #56E1E9 !important;
      box-shadow: 0 0 6px #56E1E9 !important;
      display: inline-block !important;
      flex-shrink: 0 !important;
      margin: 0 !important;
    }

    /* Recessed 3-Step Wizard Navigation */
    .tt-wiz-bar {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4px;
      background: #0E121A;
      border: 1px solid #1C2333;
      border-radius: 9999px;
      padding: 4px;
      margin-bottom: 18px;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85);
    }
    .tt-step-btn {
      padding: 7px 10px;
      border-radius: 9999px;
      font-family: inherit;
      font-size: 12px;
      font-weight: 500;
      color: #71717A;
      background: transparent;
      border: 1px solid transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .tt-step-btn .tt-num {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      font-size: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono, monospace);
      font-weight: 700;
    }
    .tt-step-btn.is-active {
      color: #FFFFFF !important;
      font-weight: 600 !important;
      background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(28, 34, 46, 0.98) 100%) !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
    }
    .tt-step-btn.is-active .tt-num {
      background: #56E1E9;
      color: #06080C;
    }

    /* Forms & Inputs */
    .tt-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .tt-form-stack {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .tt-field {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .tt-field.is-full {
      grid-column: 1 / -1;
    }
    .tt-lbl {
      font-family: var(--font-mono, monospace);
      font-size: 10.5px;
      font-weight: 600;
      color: #94A3B8;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .tt-input {
      width: 100%;
      background: #080B10 !important;
      border: 1px solid #1C2333 !important;
      border-radius: 9px;
      color: #F8FAFC;
      padding: 9px 12px;
      font-size: 13.5px;
      font-family: inherit;
      box-sizing: border-box;
      outline: none;
      transition: all 0.2s;
    }
    .tt-input:focus {
      background: #0E121A !important;
      border-color: #56E1E9 !important;
      box-shadow: 0 0 0 2px rgba(86, 225, 233, 0.2);
    }
    .tt-input option {
      background: #0B0E14 !important; color: #F8FAFC !important; color-scheme: dark;
      color: #F8FAFC;
    }

    /* Quick Make Chips */
    .tt-make-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 2px;
    }
    .tt-chip {
      font-size: 11.5px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 6px;
      background: #141923 !important;
      border: 1px solid #222938 !important;
      color: #CBD5E1 !important;
      cursor: pointer;
      transition: all 0.18s ease;
    }
    .tt-chip:hover {
      background: #192130 !important;
      border-color: #2E3850 !important;
      color: #FFFFFF !important;
    }
    .tt-chip.is-active {
      background: #1A2232 !important;
      border-color: #56E1E9 !important;
      color: #56E1E9 !important;
    }

    /* Step 3 Appraisal Card */
    .tt-res-header {
      text-align: center;
      margin-bottom: 14px;
    }
    .tt-val-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 14px;
    }
    .tt-val-box {
      border-radius: 12px;
      padding: 12px;
      text-align: center;
      background: #10141D !important;
      border: 1px solid #1C2333 !important;
    }
    .tt-val-box.offer {
      background: #131924 !important;
      border-color: #243044 !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    }
    .tt-val-tag {
      display: block;
      font-family: var(--font-mono, monospace);
      font-size: 9.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #64748B;
      margin-bottom: 3px;
    }
    .tt-val-box.offer .tt-val-tag { color: #56E1E9; }
    .tt-val-amt {
      font-size: 20px;
      font-weight: 800;
      color: #FFFFFF;
      letter-spacing: -0.02em;
    }
    .tt-val-desc {
      font-size: 10.5px;
      color: #64748B;
    }

    /* Equity Matcher */
    .tt-equity-box {
      background: #0B0E14 !important;
      border: 1px solid #1C2333 !important;
      border-radius: 12px;
      padding: 12px;
      margin-bottom: 14px;
    }
    .tt-equity-head {
      font-family: var(--font-mono, monospace);
      font-size: 10px;
      font-weight: 700;
      color: #94A3B8;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    .tt-equity-calc {
      margin-top: 10px;
      padding-top: 8px;
      border-top: 1px solid #1C2333;
      display: flex;
      flex-direction: column;
      gap: 5px;
      font-size: 12px;
    }
    .tt-eq-row {
      display: flex;
      justify-content: space-between;
      color: #94A3B8;
    }
    .tt-eq-row b {
      color: #F8FAFC;
      font-family: var(--font-mono, monospace);
    }
    .tt-eq-row.is-total {
      margin-top: 3px;
      padding-top: 5px;
      border-top: 1px dashed #262D3D;
      font-weight: 700;
      color: #FFFFFF;
    }
    .tt-eq-row.is-total b {
      color: #FFFFFF;
      font-size: 13.5px;
    }
    .tt-eq-row.is-mo {
      color: #56E1E9;
      font-weight: 700;
    }
    .tt-eq-row.is-mo b {
      color: #56E1E9;
      font-size: 13.5px;
    }



/* 2026-10-24: Polo 360 | TruTrade side by side (50/50), copy above, features below */
.tdx-tradein-head { max-width: 860px; margin: 0 0 28px; text-align: left; }
.tdx-tradein-head .td-lead { margin-top: 14px; color: #94A3B8; font-size: 15px; line-height: 1.6; }
.tdx-tradein-split--media { max-width: none; align-items: center; gap: 32px; }
.tdx-orbit--split .orbit-hint { white-space: nowrap; font-size: 10.5px; padding: 6px 12px; bottom: 64px; }
.tdx-tradein-split--media > * { min-width: 0; }
.tdx-tradein-split--media .tdx-tradein-demo-wrap { max-width: none; margin: 0; }
.tdx-tradein-media { width: 100%; }
/* The frames are 16:9; show the whole car, never crop it */
.tdx-orbit.tdx-orbit--split { aspect-ratio: 16 / 9 !important; width: 100%; }
.tdx-orbit--split .orbit-frame { object-fit: contain; }
.tdx-tradein-features--row { flex-direction: row; flex-wrap: wrap; margin: 28px 0 8px; }
.tdx-tradein-features--row > .tdx-tradein-feat { flex: 1 1 260px; }
.tdx-tradein-cta { margin-top: 18px; }

/* Resolved M&M code line under the catalogue picker */
.tt-mm {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  color: #64748B;
  padding: 8px 10px;
  border: 1px dashed #1C2333;
  border-radius: 9px;
}
.tt-mm.is-ok { color: #56E1E9; border-style: solid; border-color: rgba(86, 225, 233, 0.35); }
.tt-input:disabled { opacity: 0.55; cursor: not-allowed; }
.tt-stock-src { margin: 6px 0 0; font-size: 11px; color: #64748B; }
.tt-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 8px; padding: 10px 12px; border: 1px solid #1C2333; border-radius: 9px; background: #080B10; }
.tt-spec[hidden] { display: none; }
.tt-spec > div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; min-width: 0; }
.tt-spec span { color: #64748B; }
.tt-spec b { color: #E2E8F0; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
