/* eAuto Dealer — detail page designs (Stage B, v1.13.0).
   Ported + SCOPED from the designer package style.css under
   .eauto-detail-html so theme/plugin CSS cannot leak in/out.
   Auto-generated by scope_css.py — do not edit by hand. */

/* design tokens (global CSS vars; harmless, no element styles) */
:root {
  /* darks */
  --ink: #0B0E14;
  --ink-2: #141A24;
  --navy: #15233F;
  --navy-2: #20335A;

  /* accents */
  --red: #C8102E;
  --red-2: #E2243C;
  --gold: #C5A253;
  --gold-2: #E3CE97;

  /* neutrals */
  --bg: #F2F3F6;
  --surface: #FFFFFF;
  --line: #E5E8EE;
  --line-soft: #EEF0F4;
  --tint: #F5F6F9;
  --tint-2: #EEF1F6;

  /* text */
  --text: #10141B;
  --text-2: #39424F;
  --muted: #6E7888;
  --muted-2: #9AA3B2;

  /* type */
  --f-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  /* radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;

  /* shadows */
  --sh-sm: 0 1px 2px rgba(16,20,27,.05), 0 1px 1px rgba(16,20,27,.04);
  --sh-md: 0 10px 28px -14px rgba(16,20,27,.22), 0 4px 10px -6px rgba(16,20,27,.10);
  --sh-lg: 0 28px 60px -28px rgba(13,18,30,.40), 0 10px 24px -12px rgba(13,18,30,.18);
  --sh-dark: 0 30px 60px -26px rgba(0,0,0,.55);

  --maxw: 1240px;
}



/* shared media + fallback (scoped) */
/* ---------------- Shared: media + premium fallback ---------------- */
.eauto-detail-html .media { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--navy), var(--ink)); }
.eauto-detail-html .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.eauto-detail-html .media .ph {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  color: rgba(231,217,180,.92);
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(31,49,90,.6), transparent 62%),
    linear-gradient(145deg, var(--navy), var(--ink));
}
.eauto-detail-html .media .ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 28%, transparent 76%);
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 28%, transparent 76%);
}
.eauto-detail-html .media .ph svg {
  position: relative; width: 30px; height: 30px; stroke-width: 1.3; opacity: .95;
  padding: 14px; border-radius: 50%;
  border: 1px solid rgba(231,217,180,.30); background: rgba(255,255,255,.04);
}
.eauto-detail-html .media .ph span {
  position: relative; font-family: var(--f-head); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; text-align: center;
}
.eauto-detail-html .media .ph span::after {
  content: "Premium Auto Dealer"; display: block; margin-top: 7px;
  font-size: 8.5px; font-weight: 600; letter-spacing: .22em;
  color: rgba(255,255,255,.42); text-transform: uppercase;
}
.eauto-detail-html .media.is-broken img { opacity: 0; }
.eauto-detail-html .media.is-broken .ph { display: flex; }

/* duotone treatment used by some options */
.eauto-detail-html .media.tone-mono img { filter: grayscale(1) contrast(1.02); }
.eauto-detail-html .media.tone-warm img { filter: saturate(1.08) contrast(1.03); }



/* detail layouts 01-10 + responsive (scoped) */
/* ====================================================================
   DETAIL PAGES — 10 distinct layouts (shared leaf components, locked DNA)
   ==================================================================== */

/* ---- whole-card click overlay on listing + related cards ---- */
.eauto-detail-html .card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.eauto-detail-html :where(.design, .d-related) article :where(.fav, .link, .btn, .cmp, .c2-cta, .c9-cta) { position: relative; z-index: 2; }

/* ---- theme tokens ---- */
.eauto-detail-html .detail {
  --acc: var(--navy); --acc-2: var(--navy-2);
  --d-surface: var(--surface); --d-ink: var(--ink); --d-ink-2: #2A3342;
  --d-muted: var(--muted); --d-line: var(--line); --d-tint: var(--tint);
  --d-radius: 16px; --d-ring: rgba(17,22,31,.10);
  display: block; min-height: 100vh; background: var(--bg); color: var(--d-ink);
}
.eauto-detail-html .detail.d1 { --acc: var(--navy); --acc-2: var(--navy-2); --d-radius: 16px; }
.eauto-detail-html .detail.d2 { --acc: var(--gold); --acc-2: var(--gold-2); --d-radius: 14px; }
.eauto-detail-html .detail.d3 { --acc: var(--navy); --acc-2: var(--gold);   --d-radius: 14px; }
.eauto-detail-html .detail.d4 { --acc: var(--navy); --acc-2: var(--navy-2); --d-radius: 12px; }
.eauto-detail-html .detail.d5 { --acc: var(--gold); --acc-2: var(--gold-2); --d-radius: 18px; }
.eauto-detail-html .detail.d6 { --acc: var(--navy); --acc-2: var(--navy-2); --d-radius: 16px; }
.eauto-detail-html .detail.d7 { --acc: var(--red);  --acc-2: var(--red-2);  --d-radius: 8px;  }
.eauto-detail-html .detail.d8 { --acc: var(--ink);  --acc-2: var(--navy);   --d-radius: 6px;  }
.eauto-detail-html .detail.d9 { --acc: var(--gold); --acc-2: var(--gold-2); --d-radius: 18px; }
.eauto-detail-html .detail.d10 { --acc: var(--navy); --acc-2: var(--navy-2); --d-radius: 22px; }
.eauto-detail-html .detail.theme-dark { --d-ink: #F4F6FA; --d-ink-2: #C7D0DE; --d-muted: #8B94A6; --d-line: rgba(255,255,255,.10); --d-ring: rgba(255,255,255,.14); }
.eauto-detail-html .detail.d2.theme-dark { --d-surface: #141A24; --d-tint: #1A2230; background: #0E1219; }
.eauto-detail-html .detail.d7.theme-dark { --d-surface: #15171C; --d-tint: #1C1F26; background: #0A0B0E; }

/* ---- wrapper ---- */
.eauto-detail-html .d-wrap { max-width: var(--maxw); margin: 0 auto; padding: 26px 28px 64px; }

/* ---- breadcrumb / title / back ---- */
.eauto-detail-html .d-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--d-muted); padding: 4px 0 18px; }
.eauto-detail-html .d-crumbs a { color: var(--d-muted); text-decoration: none; transition: color .15s; }
.eauto-detail-html .d-crumbs a:hover { color: var(--acc); }
.eauto-detail-html .d-crumbs .d-cur { color: var(--d-ink); font-weight: 600; }
.eauto-detail-html .d-crumbs .d-sep { width: 13px; height: 13px; transform: rotate(-90deg); opacity: .5; }
.eauto-detail-html .d-titlewrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.eauto-detail-html .d-title { font-family: var(--f-head); font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; color: var(--d-ink); margin: 0; }
.eauto-detail-html .d-title span { font-weight: 600; color: var(--d-muted); }
.eauto-detail-html .d-subtitle { margin: 7px 0 0; color: var(--d-muted); font-size: 15px; }
.eauto-detail-html .d-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--d-ink); font-weight: 600; font-size: 13.5px; padding: 9px 15px; border: 1px solid var(--d-line); border-radius: 999px; background: var(--d-surface); transition: border-color .15s, color .15s; white-space: nowrap; }
.eauto-detail-html .d-back:hover { border-color: var(--acc); color: var(--acc); }
.eauto-detail-html .d-flip { transform: rotate(180deg); }
.eauto-detail-html .d-backbar { display: flex; justify-content: center; margin-top: 38px; }

/* ---- badges / stock ---- */
.eauto-detail-html .d-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.eauto-detail-html .d-stock { font-size: 12px; color: var(--d-muted); font-weight: 600; letter-spacing: .01em; }
.eauto-detail-html .d-stock--light { color: rgba(255,255,255,.82); }

/* ---- gallery ---- */
.eauto-detail-html .dg-main { position: relative; border-radius: var(--d-radius); overflow: hidden; box-shadow: var(--sh-md); }
.eauto-detail-html .dg-box { height: clamp(300px, 40vw, 480px); border-radius: var(--d-radius); }
.eauto-detail-html .dg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.86); color: var(--ink); border: 1px solid rgba(255,255,255,.55); box-shadow: var(--sh-sm); cursor: pointer; backdrop-filter: blur(6px); transition: background .15s; z-index: 3; }
.eauto-detail-html .dg-nav:hover { background: #fff; }
.eauto-detail-html .dg-nav .ico { width: 18px; height: 18px; }
.eauto-detail-html .dg-prev { left: 14px; }
.eauto-detail-html .dg-next { right: 14px; }
.eauto-detail-html .dg-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(11,14,20,.62); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); z-index: 3; }
.eauto-detail-html .dg-count .ico { width: 14px; height: 14px; }
.eauto-detail-html .dg-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.eauto-detail-html .dg-thumb { flex: 1 1 0; min-width: 64px; max-width: 132px; padding: 0; border: none; background: none; cursor: pointer; border-radius: calc(var(--d-radius) - 6px); overflow: hidden; }
.eauto-detail-html .dg-thumb .media { display: block; height: 72px; border-radius: inherit; border: 2px solid transparent; transition: border-color .15s; }
.eauto-detail-html .dg-thumb.is-active .media { border-color: var(--acc); }

/* ---- quick spec strip / chips ---- */
.eauto-detail-html .d-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden; }
.eauto-detail-html .d-quick-item { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--d-surface); font-size: 13.5px; color: var(--d-ink); font-weight: 600; min-width: 0; }
.eauto-detail-html .d-quick-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eauto-detail-html .d-quick-item .ico { width: 18px; height: 18px; color: var(--acc); flex: 0 0 auto; }
.eauto-detail-html .d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eauto-detail-html .d-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--d-tint); border: 1px solid var(--d-line); font-size: 13px; font-weight: 600; color: var(--d-ink); }
.eauto-detail-html .d-chip .ico { width: 15px; height: 15px; color: var(--acc); }

/* ---- price / emi ---- */
.eauto-detail-html .d-price { display: flex; flex-direction: column; gap: 3px; }
.eauto-detail-html .d-price-num { font-family: var(--f-head); font-size: clamp(24px, 2.8vw, 30px); font-weight: 800; color: var(--d-ink); letter-spacing: -.01em; }
.eauto-detail-html .d-price-sub { font-size: 12.5px; color: var(--d-muted); }
.eauto-detail-html .d-emi-lead { display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: calc(var(--d-radius) - 2px); background: linear-gradient(140deg, var(--navy), var(--ink)); color: #fff; }
.eauto-detail-html .d-emi-num { font-family: var(--f-head); font-size: clamp(28px, 3.4vw, 34px); font-weight: 800; display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.eauto-detail-html .d-emi-num small { font-size: 12px; font-weight: 600; opacity: .82; }
.eauto-detail-html .d-emi-sub { font-size: 12.5px; color: var(--gold-2); font-weight: 600; }

/* ---- CTA buttons ---- */
.eauto-detail-html .d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--f-head); font-weight: 700; font-size: 14px; padding: 13px 16px; border-radius: calc(var(--d-radius) - 4px); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, border-color .15s, color .15s; white-space: nowrap; }
.eauto-detail-html .d-btn .ico { width: 17px; height: 17px; }
.eauto-detail-html .d-btn--primary { background: linear-gradient(135deg, var(--acc), var(--acc-2)); color: #fff; box-shadow: var(--sh-sm); }
.eauto-detail-html .d-btn--primary:hover { transform: translateY(-1px); }
.eauto-detail-html .d-btn--call { background: var(--d-tint); color: var(--d-ink); border-color: var(--d-line); }
.eauto-detail-html .d-btn--call:hover { border-color: var(--acc); color: var(--acc); }
.eauto-detail-html .d-btn--wa { background: #108A4A; color: #fff; }
.eauto-detail-html .d-btn--wa:hover { background: #0E7A41; transform: translateY(-1px); }
.eauto-detail-html .d-btn--soft { background: var(--d-tint); color: var(--d-ink); border-color: var(--d-line); }
.eauto-detail-html .d-btn--soft:hover { border-color: var(--acc); color: var(--acc); }
.eauto-detail-html .d-btn--soft.fav.is-active { color: var(--red); border-color: var(--red); background: var(--d-surface); }
.eauto-detail-html .d-cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eauto-detail-html .d-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.eauto-detail-html .d-cta-row > * { flex: 1 1 auto; }
.eauto-detail-html .d-summary > .d-btn, .eauto-detail-html .dh-panel > .d-btn, .eauto-detail-html .dsp-summary > .d-btn, .eauto-detail-html .dm-actions > .d-btn { width: 100%; }
.eauto-detail-html .d-cta-split .cmp, .eauto-detail-html .d-cta-row .cmp { width: 100%; justify-content: center; padding: 13px 16px; border-radius: calc(var(--d-radius) - 4px); font-size: 14px; }
.eauto-detail-html .d-cta-row .cmp { flex: 1 1 auto; }

/* ---- trust ---- */
.eauto-detail-html .d-trust { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--d-muted); line-height: 1.45; padding-top: 14px; border-top: 1px solid var(--d-line); }
.eauto-detail-html .d-trust .ico { width: 16px; height: 16px; color: var(--acc); flex: 0 0 auto; margin-top: 1px; }

/* ---- generic block / headings / lists ---- */
.eauto-detail-html .d-block { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 22px 24px; }
.eauto-detail-html .d-block--editorial { background: transparent; border: none; box-shadow: none; padding: 0; }
.eauto-detail-html .d-block--editorial .d-h2 { font-size: 22px; }
.eauto-detail-html .d-block--editorial .d-desc { font-size: 16px; line-height: 1.75; }
.eauto-detail-html .d-block--flat { background: transparent; border: none; box-shadow: none; border-radius: 0; padding: 26px 0 0; border-top: 1px solid var(--d-line); }
.eauto-detail-html .d-block--bare { background: transparent; border: none; box-shadow: none; padding: 0; }
.eauto-detail-html .d-h2 { font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--d-ink); margin: 0 0 12px; letter-spacing: -.01em; }
.eauto-detail-html .d-desc { color: var(--d-ink-2); font-size: 14.5px; line-height: 1.65; margin: 0; }
.eauto-detail-html .d-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.eauto-detail-html .d-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--d-ink-2); }
.eauto-detail-html .d-feats .ico { width: 17px; height: 17px; color: var(--acc); flex: 0 0 auto; margin-top: 1px; }

/* ---- specifications ---- */
.eauto-detail-html .d-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.eauto-detail-html .d-specrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--d-line); font-size: 13.5px; }
.eauto-detail-html .d-speck { color: var(--d-muted); flex: 0 0 auto; }
.eauto-detail-html .d-specv { color: var(--d-ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.eauto-detail-html .d-specs--compact .d-specrow { padding: 7px 0; font-size: 12.5px; }

/* ---- spec cards (06) ---- */
.eauto-detail-html .d-speccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.eauto-detail-html .d-speccard { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: calc(var(--d-radius) - 4px); background: var(--d-tint); border: 1px solid var(--d-line); }
.eauto-detail-html .d-speccard .ico { width: 20px; height: 20px; color: var(--acc); }
.eauto-detail-html .d-speccard-k { font-size: 12px; color: var(--d-muted); }
.eauto-detail-html .d-speccard-v { font-family: var(--f-head); font-size: 16px; font-weight: 700; color: var(--d-ink); }

/* ---- performance tiles (07) ---- */
.eauto-detail-html .d-perf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.eauto-detail-html .d-perf-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border-radius: var(--d-radius); background: var(--d-surface); border: 1px solid var(--d-line); border-left: 3px solid var(--acc); }
.eauto-detail-html .d-perf-ic { width: 22px; height: 22px; color: var(--acc); margin-bottom: 4px; }
.eauto-detail-html .d-perf-num { font-family: var(--f-head); font-size: clamp(18px, 2vw, 24px); font-weight: 800; color: var(--d-ink); }
.eauto-detail-html .d-perf-lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--d-muted); }

/* ---- finance band (03) ---- */
.eauto-detail-html .d-finband { display: grid; grid-template-columns: minmax(220px, .9fr) 1.6fr; gap: 24px; align-items: center; padding: 24px 26px; border-radius: var(--d-radius); background: linear-gradient(135deg, var(--navy), var(--ink)); color: #fff; box-shadow: var(--sh-md); margin-bottom: 22px; }
.eauto-detail-html .d-finband-lead { display: flex; flex-direction: column; gap: 3px; }
.eauto-detail-html .d-finband-label { font-size: 12.5px; color: var(--gold-2); font-weight: 600; letter-spacing: .02em; }
.eauto-detail-html .d-finband-num { font-family: var(--f-head); font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.eauto-detail-html .d-finband-num small { font-size: 13px; font-weight: 600; opacity: .8; }
.eauto-detail-html .d-finband-sub { font-size: 13px; color: rgba(255,255,255,.78); }
.eauto-detail-html .d-finband-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eauto-detail-html .d-finband-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: calc(var(--d-radius) - 4px); background: rgba(255,255,255,.08); }
.eauto-detail-html .d-finband-stats span { font-size: 11.5px; color: rgba(255,255,255,.7); }
.eauto-detail-html .d-finband-stats b { font-family: var(--f-head); font-size: 16px; font-weight: 700; color: #fff; }

/* ---- finance box ---- */
.eauto-detail-html .d-finance-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eauto-detail-html .d-finance-head .ico { width: 20px; height: 20px; color: var(--acc); }
.eauto-detail-html .d-finance-head .d-h2 { margin: 0; }
.eauto-detail-html .d-finance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 6px; }
.eauto-detail-html .d-finance-grid > div { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: calc(var(--d-radius) - 4px); background: var(--d-tint); }
.eauto-detail-html .d-finance-grid span { font-size: 12px; color: var(--d-muted); }
.eauto-detail-html .d-finance-grid b { font-family: var(--f-head); font-size: 18px; font-weight: 800; color: var(--d-ink); }
.eauto-detail-html .d-fine { margin: 10px 0 0; font-size: 11.5px; color: var(--d-muted); line-height: 1.4; }

/* ---- dealer assurance block (premium, no personal advisor) ---- */
.eauto-detail-html .d-assure { display: flex; flex-direction: column; gap: 14px; }
.eauto-detail-html .d-assure-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.eauto-detail-html .d-assure-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--d-ink-2); line-height: 1.4; }
.eauto-detail-html .d-assure-list .ico { width: 17px; height: 17px; color: var(--acc); flex: 0 0 auto; margin-top: 1px; }
.eauto-detail-html .d-assure-cta { width: 100%; }

/* ---- enquiry form ---- */
.eauto-detail-html .d-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.eauto-detail-html .d-field { display: flex; flex-direction: column; gap: 6px; }
.eauto-detail-html .d-field--full { grid-column: 1 / -1; }
.eauto-detail-html .d-field label { font-size: 12.5px; font-weight: 600; color: var(--d-ink); }
.eauto-detail-html .d-field input, .eauto-detail-html .d-field textarea { font-family: inherit; font-size: 14px; color: var(--d-ink); background: var(--d-tint); border: 1px solid var(--d-line); border-radius: 10px; padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s; resize: vertical; width: 100%; box-sizing: border-box; }
.eauto-detail-html .d-field input::placeholder, .eauto-detail-html .d-field textarea::placeholder { color: var(--d-muted); }
.eauto-detail-html .d-field input:focus, .eauto-detail-html .d-field textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--d-ring); }
.eauto-detail-html .d-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--d-muted); line-height: 1.4; }
.eauto-detail-html .d-consent input { margin-top: 2px; accent-color: var(--acc); flex: 0 0 auto; }
.eauto-detail-html .d-form-send { grid-column: 1 / -1; width: 100%; }
.eauto-detail-html .d-form-ok { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; margin: 0; font-size: 13.5px; font-weight: 600; color: #108A4A; }
.eauto-detail-html .d-form-ok .ico { width: 18px; height: 18px; }
.eauto-detail-html .d-form-ok[hidden] { display: none; }

/* ---- summary card ---- */
.eauto-detail-html .d-summary { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 22px; box-shadow: var(--sh-md); display: flex; flex-direction: column; gap: 14px; }

/* ---- related listings ---- */
.eauto-detail-html .d-related { margin-top: 42px; }
.eauto-detail-html .d-related-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.eauto-detail-html .d-related-head .d-h2 { margin: 0; font-size: 20px; }
.eauto-detail-html .d-related-head .link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: 13.5px; color: var(--acc); text-decoration: none; white-space: nowrap; }
.eauto-detail-html .d-related-head .link .ico { width: 15px; height: 15px; }

/* ---- dark-theme touch-ups ---- */
.eauto-detail-html .detail.theme-dark .cmp--ghost, .eauto-detail-html .detail.theme-dark .cmp--gold, .eauto-detail-html .detail.theme-dark .cmp--sharp { background: var(--d-tint); color: var(--d-ink); border-color: var(--d-line); }
.eauto-detail-html .detail.theme-dark .btn--ghost { color: var(--d-ink); border-color: var(--d-line); background: transparent; }
.eauto-detail-html .detail.theme-dark .btn--ghost:hover { border-color: var(--acc); color: var(--acc); }
.eauto-detail-html .detail.theme-dark .dg-thumb .media { background: linear-gradient(140deg, var(--navy), var(--ink)); }

/* ====================================================================
   01 · Luxury White Vertical
   ==================================================================== */
.eauto-detail-html .dlv-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(320px, .95fr); gap: 30px; align-items: start; }
.eauto-detail-html .dlv-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eauto-detail-html .dlv-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }

/* ====================================================================
   02 · Dark Premium Horizontal
   ==================================================================== */
.eauto-detail-html .dh-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .95fr); gap: 28px; align-items: stretch; }
.eauto-detail-html .dh-gallery { min-width: 0; }
.eauto-detail-html .dh-gallery .dg-box { height: clamp(340px, 46vw, 560px); }
.eauto-detail-html .dh-panel { background: var(--d-surface); border: 1px solid var(--d-line); border-top: 3px solid var(--gold); border-radius: var(--d-radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.eauto-detail-html .dh-title { font-family: var(--f-head); font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.08; color: var(--d-ink); margin: 0; }
.eauto-detail-html .dh-title span { color: var(--gold); font-weight: 700; }
.eauto-detail-html .dh-trim { margin: 0; color: var(--d-muted); font-size: 14px; }
.eauto-detail-html .dh-ribbon { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 22px 0; background: var(--d-line); border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden; }
.eauto-detail-html .dh-rib { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--d-surface); }
.eauto-detail-html .dh-rib span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--d-muted); }
.eauto-detail-html .dh-rib b { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 15px; font-weight: 700; color: var(--d-ink); }
.eauto-detail-html .dh-rib b .ico { width: 17px; height: 17px; color: var(--gold); }
.eauto-detail-html .dh-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
.eauto-detail-html .dh-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ====================================================================
   03 · Finance-Focused Dealer
   ==================================================================== */
.eauto-detail-html .dfin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .95fr); gap: 30px; align-items: start; }
.eauto-detail-html .dfin-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eauto-detail-html .dfin-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }

/* ====================================================================
   04 · Compact Clean Inventory
   ==================================================================== */
.eauto-detail-html .dl-compact .d-wrap, .eauto-detail-html .dl-compact { }
.eauto-detail-html .dc-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 24px; align-items: start; margin-bottom: 22px; }
.eauto-detail-html .dc-gallery .dg-box { height: clamp(260px, 32vw, 380px); }
.eauto-detail-html .dc-info { display: flex; flex-direction: column; gap: 12px; }
.eauto-detail-html .dc-title { font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.08; color: var(--d-ink); margin: 0; }
.eauto-detail-html .dc-title span { color: var(--d-muted); font-weight: 600; }
.eauto-detail-html .dc-trim { margin: 0; color: var(--d-muted); font-size: 13.5px; }
.eauto-detail-html .dc-pricerow { padding: 4px 0; }
.eauto-detail-html .dc-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
.eauto-detail-html .dc-left, .eauto-detail-html .dc-right { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eauto-detail-html .dl-compact .d-block { padding: 18px 20px; }
.eauto-detail-html .dl-compact .d-h2 { font-size: 16px; }

/* ====================================================================
   05 · Luxury SUV Showcase  (full-bleed cinematic)
   ==================================================================== */
.eauto-detail-html .ds-hero { position: relative; height: clamp(420px, 58vh, 640px); overflow: hidden; }
.eauto-detail-html .ds-hero .di-herobg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.eauto-detail-html .ds-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,11,17,.82) 0%, rgba(8,11,17,.30) 45%, rgba(8,11,17,.10) 100%); z-index: 1; }
.eauto-detail-html .ds-hero .dg-nav { z-index: 3; }
.eauto-detail-html .ds-hero .dg-count { z-index: 3; }
.eauto-detail-html .ds-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 28px 36px; color: #fff; }
.eauto-detail-html .ds-title { font-family: var(--f-head); font-size: clamp(30px, 5vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.015em; margin: 8px 0 0; }
.eauto-detail-html .ds-sub { margin: 8px 0 0; font-size: 15px; color: rgba(255,255,255,.82); }
.eauto-detail-html .ds-wrap { padding-top: 26px; }
.eauto-detail-html .ds-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-radius); box-shadow: var(--sh-md); margin-bottom: 16px; }
.eauto-detail-html .ds-bar .d-cta-row { flex: 1 1 420px; justify-content: flex-end; }
.eauto-detail-html .ds-story { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(280px, .9fr); gap: 30px; align-items: start; margin-top: 22px; }
.eauto-detail-html .ds-story-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eauto-detail-html .ds-story-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }

/* ====================================================================
   06 · Modern Split Image + Details
   ==================================================================== */
.eauto-detail-html .dsp-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; margin-bottom: 22px; }
.eauto-detail-html .dsp-gallery { min-width: 0; }
.eauto-detail-html .dsp-summary { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 24px; box-shadow: var(--sh-md); display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.eauto-detail-html .dsp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 18px; }

/* ====================================================================
   07 · Premium Black & Red Sports  (dark + red)
   ==================================================================== */
.eauto-detail-html .dsp7-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr); gap: 26px; align-items: center; }
.eauto-detail-html .dsp7-gallerywrap { min-width: 0; }
.eauto-detail-html .dsp7-gallerywrap .dg-main { border: 1px solid rgba(226,36,60,.35); box-shadow: 0 0 0 1px rgba(226,36,60,.15), var(--sh-md); }
.eauto-detail-html .dsp7-gallerywrap .dg-box { height: clamp(320px, 44vw, 520px); }
.eauto-detail-html .dsp7-head { display: flex; flex-direction: column; gap: 10px; }
.eauto-detail-html .dsp7-title { font-family: var(--f-head); font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; color: var(--d-ink); margin: 0; text-transform: uppercase; }
.eauto-detail-html .dsp7-trim { margin: 0; color: var(--d-muted); font-size: 14px; }
.eauto-detail-html .dsp7-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .95fr); gap: 28px; align-items: start; margin-top: 6px; }
.eauto-detail-html .dsp7-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eauto-detail-html .dsp7-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.eauto-detail-html .dsp7-aside .d-summary { border-top: 3px solid var(--red); }

/* ====================================================================
   08 · Minimal European Dealer  (flat, hairline, editorial)
   ==================================================================== */
.eauto-detail-html .dl-min .d-wrap, .eauto-detail-html .dl-min { }
.eauto-detail-html .dm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--d-line); margin-bottom: 24px; }
.eauto-detail-html .dm-brand { margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--d-muted); }
.eauto-detail-html .dm-title { font-family: var(--f-head); font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; color: var(--d-ink); margin: 0; }
.eauto-detail-html .dm-trim { margin: 8px 0 0; color: var(--d-muted); font-size: 14.5px; }
.eauto-detail-html .dm-headr { text-align: right; display: flex; flex-direction: column; gap: 3px; }
.eauto-detail-html .dm-price { font-family: var(--f-head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--d-ink); }
.eauto-detail-html .dm-emi { font-size: 12.5px; color: var(--d-muted); }
.eauto-detail-html .dm-gallery { margin-bottom: 22px; }
.eauto-detail-html .dm-gallery .dg-main { box-shadow: none; border: 1px solid var(--d-line); }
.eauto-detail-html .dm-quick { margin-bottom: 26px; }
.eauto-detail-html .dm-quick .d-quick { box-shadow: none; }
.eauto-detail-html .dm-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr); gap: 40px; align-items: start; }
.eauto-detail-html .dm-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eauto-detail-html .dm-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 24px; }
.eauto-detail-html .dm-actions { display: flex; flex-direction: column; gap: 10px; }
.eauto-detail-html .dl-min .d-block--flat:first-child { border-top: none; padding-top: 0; }

/* ====================================================================
   09 · Image-First Hero  (glass overlay)
   ==================================================================== */
.eauto-detail-html .di-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 60vh, 660px); overflow: hidden; padding: clamp(88px, 14vh, 150px) clamp(16px, 4vw, 56px) clamp(28px, 5vh, 48px); }
.eauto-detail-html .di-hero .di-herobg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.eauto-detail-html .ds-hero .di-herobg img, .eauto-detail-html .di-hero .di-herobg img { object-position: center 38%; }
.eauto-detail-html .di-shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,11,17,.55) 0%, rgba(8,11,17,.15) 40%, rgba(8,11,17,.05) 100%); z-index: 1; }
.eauto-detail-html .di-hero .dg-nav, .eauto-detail-html .di-hero .dg-count { z-index: 3; }
.eauto-detail-html .di-glass { position: relative; z-index: 2; width: min(460px, 100%); padding: 24px 26px; border-radius: 20px; background: rgba(16,20,28,.58); border: 1px solid rgba(255,255,255,.20); backdrop-filter: blur(18px) saturate(1.15); color: #fff; box-shadow: var(--sh-lg); display: flex; flex-direction: column; gap: 11px; }
.eauto-detail-html .di-glass .d-badges { margin: 0; }
.eauto-detail-html .di-title { font-family: var(--f-head); font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.05; margin: 0; }
.eauto-detail-html .di-title span { color: rgba(255,255,255,.7); font-weight: 600; }
.eauto-detail-html .di-trim { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.78); }
.eauto-detail-html .di-glass-price .d-price-num { color: #fff; }
.eauto-detail-html .di-glass-price .d-price-sub { color: rgba(255,255,255,.72); }
.eauto-detail-html .di-glass-specs .d-chip { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); color: #fff; }
.eauto-detail-html .di-glass-specs .d-chip .ico { color: var(--gold-2); }
.eauto-detail-html .di-glass .d-cta-row .d-btn--primary { background: #fff; color: var(--ink); }
.eauto-detail-html .di-glass .cmp--glass { width: 100%; justify-content: center; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; }
.eauto-detail-html .di-wrap { padding-top: 24px; }
.eauto-detail-html .di-cols { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(280px, .9fr); gap: 30px; align-items: start; margin-top: 22px; }
.eauto-detail-html .di-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eauto-detail-html .di-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }

/* ====================================================================
   10 · Mobile-App Style Rounded
   ==================================================================== */
.eauto-detail-html .dl-app { padding-bottom: 96px; }
.eauto-detail-html .da-shell { max-width: 620px; margin: 0 auto; padding: 22px 18px 8px; display: flex; flex-direction: column; gap: 14px; }
.eauto-detail-html .da-shell .d-crumbs { padding: 0 2px 6px; }
.eauto-detail-html .da-gallery .dg-main { border-radius: 22px; }
.eauto-detail-html .da-gallery .dg-box { height: clamp(240px, 52vw, 360px); border-radius: 22px; }
.eauto-detail-html .da-head { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.eauto-detail-html .da-title { font-family: var(--f-head); font-size: clamp(22px, 5.5vw, 28px); font-weight: 800; line-height: 1.06; color: var(--d-ink); margin: 0; display: inline; }
.eauto-detail-html .da-title span { color: var(--d-muted); font-weight: 600; font-size: .7em; margin-left: 6px; }
.eauto-detail-html .da-trim { margin: 0; color: var(--d-muted); font-size: 13.5px; }
.eauto-detail-html .da-card { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: 22px; padding: 20px; }
.eauto-detail-html .da-pricecard { display: flex; align-items: center; justify-content: space-between; }
.eauto-detail-html .da-appbar { position: sticky; bottom: 12px; z-index: 40; width: min(620px, calc(100% - 24px)); margin: 16px auto 0; padding: 12px; border-radius: 20px; background: var(--d-surface); border: 1px solid var(--d-line); box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px; }
.eauto-detail-html .da-appbar-price { display: flex; flex-direction: column; line-height: 1.1; padding-left: 6px; flex: 0 0 auto; }
.eauto-detail-html .da-appbar-price b { font-family: var(--f-head); font-size: 16px; font-weight: 800; color: var(--d-ink); }
.eauto-detail-html .da-appbar-price span { font-size: 11.5px; color: var(--d-muted); }
.eauto-detail-html .d-appbar-cta { display: flex; gap: 8px; flex: 1 1 auto; }
.eauto-detail-html .d-appbar-cta .d-btn { flex: 1 1 auto; padding: 12px 12px; }
.eauto-detail-html body.has-tray .da-appbar { bottom: 100px; }

/* ====================================================================
   DETAIL PAGES — responsive
   ==================================================================== */
@media (max-width: 1080px) {
  .eauto-detail-html .dh-content, .eauto-detail-html .dc-body, .eauto-detail-html .dsp-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .eauto-detail-html .dlv-grid, .eauto-detail-html .dfin-grid, .eauto-detail-html .dh-hero, .eauto-detail-html .dc-head, .eauto-detail-html .dsp-hero, .eauto-detail-html .dsp7-hero, .eauto-detail-html .dsp7-grid, .eauto-detail-html .ds-story, .eauto-detail-html .di-cols, .eauto-detail-html .dm-grid {
    grid-template-columns: 1fr;
  }
  .eauto-detail-html .dlv-aside, .eauto-detail-html .dfin-aside, .eauto-detail-html .dsp-summary, .eauto-detail-html .dsp7-aside, .eauto-detail-html .ds-story-aside, .eauto-detail-html .di-aside, .eauto-detail-html .dm-aside { position: static; }
  .eauto-detail-html .dh-content, .eauto-detail-html .dc-body, .eauto-detail-html .dsp-cols { grid-template-columns: 1fr; }
  .eauto-detail-html .ds-bar .d-cta-row { justify-content: flex-start; }
  .eauto-detail-html .di-glass { width: 100%; }
}
@media (max-width: 720px) {
  .eauto-detail-html .d-wrap { padding: 18px 16px 52px; }
  .eauto-detail-html .d-feats, .eauto-detail-html .d-specs, .eauto-detail-html .d-form { grid-template-columns: 1fr; }
  .eauto-detail-html .d-quick { grid-template-columns: repeat(2, 1fr); }
  .eauto-detail-html .dh-ribbon { grid-template-columns: repeat(2, 1fr); }
  .eauto-detail-html .d-perf { grid-template-columns: repeat(2, 1fr); }
  .eauto-detail-html .d-finband { grid-template-columns: 1fr; gap: 16px; }
  .eauto-detail-html .d-finband-stats { grid-template-columns: repeat(3, 1fr); }
  .eauto-detail-html .dg-box, .eauto-detail-html .dh-gallery .dg-box, .eauto-detail-html .dc-gallery .dg-box, .eauto-detail-html .dsp7-gallerywrap .dg-box { height: clamp(220px, 56vw, 340px); }
  .eauto-detail-html .ds-hero { height: clamp(320px, 52vh, 460px); }
  .eauto-detail-html .di-hero { min-height: clamp(380px, 56vh, 520px); padding: clamp(60px, 10vh, 96px) 16px 24px; }
  .eauto-detail-html .ds-cap { padding: 0 16px 24px; }
  .eauto-detail-html .dm-grid { gap: 26px; }
  .eauto-detail-html .d-related-head .d-h2 { font-size: 18px; }
}
@media (max-width: 420px) {
  .eauto-detail-html .d-quick { grid-template-columns: 1fr; }
  .eauto-detail-html .d-finance-grid, .eauto-detail-html .d-finband-stats { grid-template-columns: 1fr; }
  .eauto-detail-html .d-perf { grid-template-columns: 1fr; }
  .eauto-detail-html .da-appbar-price b { font-size: 14px; }
}


/* ---- plugin-specific additions (scoped) ---- */
.eauto-detail-html .d-vbadge { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.02em; background:linear-gradient(135deg, var(--gold-2,#caa24a), var(--gold,#e9c87a)); color:#20180a; }
.eauto-detail-html .d-vbadge--sold, .eauto-detail-html .d-vbadge--reserved { background:linear-gradient(135deg,#b6483a,#e06a5a); color:#fff; }
.eauto-detail-html .drel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; }
.eauto-detail-html .drel-card { display:flex; flex-direction:column; border:1px solid var(--d-line,#e6e9ef); border-radius:16px; overflow:hidden; text-decoration:none; color:inherit; background:var(--d-surface,#fff); transition:transform .2s, box-shadow .2s; }
.eauto-detail-html .drel-card:hover { transform:translateY(-3px); box-shadow:0 18px 34px -22px rgba(17,22,31,.55); }
.eauto-detail-html .drel-media { position:relative; display:block; }
.eauto-detail-html .drel-media .media { aspect-ratio:16/10; }
.eauto-detail-html .drel-badge { position:absolute; top:10px; left:10px; z-index:2; font-size:11px; font-weight:700; padding:4px 9px; border-radius:999px; background:rgba(17,22,31,.78); color:#fff; letter-spacing:.01em; }
.eauto-detail-html .drel-badge--available, .eauto-detail-html .drel-badge--in_stock { background:#15803d; }
.eauto-detail-html .drel-badge--sold, .eauto-detail-html .drel-badge--out_of_stock { background:#b42318; }
.eauto-detail-html .drel-body { display:flex; flex-direction:column; gap:10px; padding:14px 15px 15px; flex:1 1 auto; }
.eauto-detail-html .drel-title { display:block; font-family:var(--f-head,inherit); font-weight:700; font-size:15px; line-height:1.25; color:var(--d-ink,#101722); }
.eauto-detail-html .drel-title span { color:var(--d-muted,#6b7686); font-weight:600; }
.eauto-detail-html .drel-specs { display:flex; flex-wrap:wrap; gap:6px 12px; }
.eauto-detail-html .drel-spec { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--d-muted,#5b6573); }
.eauto-detail-html .drel-spec .ico { width:14px; height:14px; color:var(--acc,#15233f); }
.eauto-detail-html .drel-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:6px; border-top:1px solid var(--d-line,#eef0f4); }
.eauto-detail-html .drel-price { font-family:var(--f-head,inherit); font-weight:800; font-size:15px; color:var(--acc,#15233f); }
.eauto-detail-html .drel-view { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:700; color:var(--d-ink,#101722); white-space:nowrap; }
.eauto-detail-html .drel-view .ico { width:14px; height:14px; }
.eauto-detail-html .d-desc p { margin:0 0 .6em; }
.eauto-detail-html img { max-width:100%; height:auto; }
.eauto-detail-html { box-sizing:border-box; max-width:100%; }
.eauto-detail-html *, .eauto-detail-html *::before, .eauto-detail-html *::after { box-sizing:border-box; }
/* mobile: stop the sticky app-bar CTAs from forcing horizontal overflow */
.eauto-detail-html .d-appbar-cta .d-btn, .eauto-detail-html .d-cta-row .d-btn { min-width:0; }
@media (max-width:480px){
  .eauto-detail-html .da-appbar { flex-wrap:wrap; gap:8px; }
  .eauto-detail-html .da-appbar-price { width:100%; padding-left:2px; }
  .eauto-detail-html .d-appbar-cta { width:100%; }
  .eauto-detail-html .d-cta-row { flex-wrap:wrap; }
}
@media (max-width:360px){
  .eauto-detail-html .d-appbar-cta .d-btn span { display:none; }
}

/* ============================================================
   v1.13.5 — LIVE-WP fixes
   (1) missing-data layout balance: premium multi-column sections
       must never leave an empty half when optional content
       (overview/features/finance/dealer) is absent.
   (2) quick-strip ribbon: the nested .d-quick was being crushed
       into one cell of the 5-col ribbon, truncating labels.
   ============================================================ */
/* Hide any section/column that rendered empty (safe-hide w/o gaps). */
.eauto-detail-html .d-block:empty,
.eauto-detail-html section:empty,
.eauto-detail-html .dh-col:empty,
.eauto-detail-html .dsp-cols > :empty,
.eauto-detail-html .dc-left:empty,
.eauto-detail-html .dc-right:empty,
.eauto-detail-html .d-cta-split:empty,
.eauto-detail-html .d-cta-row:empty,
.eauto-detail-html .dlv-aside:empty,
.eauto-detail-html .di-aside:empty,
.eauto-detail-html .ds-story-aside:empty,
.eauto-detail-html .dsp7-aside:empty { display:none !important; }

/* Wide content splits -> flex so a remaining column fills the row
   (no dead half) instead of a fixed 2-track grid. */
.eauto-detail-html .dh-content,
.eauto-detail-html .dc-body,
.eauto-detail-html .dsp-cols {
  display:flex; flex-wrap:wrap; gap:18px; align-items:flex-start;
}
.eauto-detail-html .dh-content > *,
.eauto-detail-html .dc-body > *,
.eauto-detail-html .dsp-cols > * { flex:1 1 320px; min-width:0; }
.eauto-detail-html .dh-content > .dh-col:first-child,
.eauto-detail-html .dc-body > .dc-left { flex-grow:1.5; }

/* Quick-strip: size to content, wrap, never crush. */
.eauto-detail-html .d-quick { grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.eauto-detail-html .d-quick-item { white-space:nowrap; }
/* Layout-02 ribbon: keep the designer's labelled spec cells, but let the
   present cells fill the row when some are missing (sparse-safe) instead of
   a fixed 5-track grid that leaves dead cells. */
.eauto-detail-html .dh-ribbon { grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }

/* Main gallery/aside splits also collapse gracefully if an aside empties. */
.eauto-detail-html .dlv-grid,
.eauto-detail-html .dfin-grid,
.eauto-detail-html .ds-story,
.eauto-detail-html .dsp7-grid,
.eauto-detail-html .di-cols { align-items:flex-start; }

/* =====================================================================
   v1.14.0 — public data layer additions (scoped). Additive only:
   grouped features, public/feature badges, overview lead/summary.
   ===================================================================== */
.eauto-detail-html .d-vbadge--feature {
	background: rgba(15, 23, 42, 0.06);
	color: #0f172a;
	border: 1px solid rgba(15, 23, 42, 0.12);
}
.eauto-detail-html .d-lead {
	font-size: 1.05rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 0.5rem;
}
.eauto-detail-html .d-summary {
	color: #475569;
	margin: 0 0 0.75rem;
}
.eauto-detail-html .d-featgroups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px 28px;
}
.eauto-detail-html .d-featgroup { min-width: 0; }
.eauto-detail-html .d-featgroup-h {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	margin: 0 0 0.4rem;
}
.eauto-detail-html .d-feats--grouped { margin: 0; }
.eauto-detail-html .d-feats--grouped li { break-inside: avoid; }

/* v1.14.2 FIX 5 — related-card fallback. .media is a <span>; without an
   <img> giving it intrinsic size, an inline box collapses and the premium
   .ph placeholder had no area to fill (live QA: blank related cards).
   Block display lets the existing aspect-ratio reserve the media area, and
   the placeholder text is tuned for the small card size. */
.eauto-detail-html .drel-media .media { display: block; }
.eauto-detail-html .drel-media .ph svg { width: 22px; height: 22px; padding: 10px; }
.eauto-detail-html .drel-media .ph span { font-size: 11px; letter-spacing: .14em; padding: 0 12px; }
.eauto-detail-html .drel-media .ph span::after { font-size: 7.5px; }

/* v1.14.5 BLOCKER 2 — public vehicle video card (scoped; shows only when a
   video URL exists). Link card by design: no iframe/script embeds. */
.eauto-detail-html .d-video-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(31,49,90,.55), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--ink));
  color: #fff; text-decoration: none;
  border: 1px solid rgba(231,217,180,.22);
  transition: transform .18s ease, border-color .18s ease;
}
.eauto-detail-html .d-video-card:hover { transform: translateY(-2px); border-color: rgba(231,217,180,.5); }
.eauto-detail-html .d-video-play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--acc, #e7d9b4);
  border: 1px solid rgba(231,217,180,.35); background: rgba(255,255,255,.05);
}
.eauto-detail-html .d-video-play svg { width: 22px; height: 22px; }
.eauto-detail-html .d-video-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eauto-detail-html .d-video-title { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: #fff; }
.eauto-detail-html .d-video-host {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(231,217,180,.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.eauto-detail-html .d-video-go { margin-left: auto; color: rgba(255,255,255,.75); display: flex; }
.eauto-detail-html .d-video-go svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .eauto-detail-html .d-video-card { padding: 13px 14px; gap: 12px; }
  .eauto-detail-html .d-video-play { width: 40px; height: 40px; }
  .eauto-detail-html .d-video-title { font-size: 13.5px; }
}

/* v1.14.8 FIX 3 — selectable Specifications presets (scoped). Shared base
   then 10 visually distinct designs matching the Designer Detail styles. */
.eauto-detail-html .d-specs-preset .dsp-grid { display: grid; gap: 10px 22px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.eauto-detail-html .d-specs-preset .dsp-row { display: flex; justify-content: space-between; gap: 14px; min-width: 0; }
.eauto-detail-html .d-specs-preset .dsp-l { color: #64748b; font-size: 13px; }
.eauto-detail-html .d-specs-preset .dsp-v { font-weight: 700; font-size: 13.5px; color: #0f172a; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 560px) { .eauto-detail-html .d-specs-preset .dsp-grid { grid-template-columns: 1fr; } }
/* 01 Luxury White Vertical — single airy column, hairline rows */
.eauto-detail-html .d-specs--01 .dsp-grid { grid-template-columns: 1fr; gap: 0; }
.eauto-detail-html .d-specs--01 .dsp-row { padding: 11px 2px; border-bottom: 1px solid #eef1f6; }
/* 02 Dark Premium Horizontal — navy tiles, gold values */
.eauto-detail-html .d-specs--02 { background: linear-gradient(135deg, var(--navy), var(--ink)); border-radius: 16px; padding: 20px; }
.eauto-detail-html .d-specs--02 .d-h2 { color: #fff; }
.eauto-detail-html .d-specs--02 .dsp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.eauto-detail-html .d-specs--02 .dsp-row { flex-direction: column; gap: 3px; background: rgba(255,255,255,.05); border: 1px solid rgba(231,217,180,.16); border-radius: 10px; padding: 10px 12px; }
.eauto-detail-html .d-specs--02 .dsp-l { color: rgba(231,217,180,.8); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.eauto-detail-html .d-specs--02 .dsp-v { color: #fff; text-align: left; }
@media (max-width: 700px) { .eauto-detail-html .d-specs--02 .dsp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* 03 Finance-Focused — soft panel, accent left rule */
.eauto-detail-html .d-specs--03 { background: #f8fafc; border-radius: 14px; padding: 18px 20px; border-left: 4px solid var(--acc, #b89b5e); }
.eauto-detail-html .d-specs--03 .dsp-row { border-bottom: 1px dashed #e2e8f0; padding: 8px 0; }
/* 04 Compact Clean — tight two columns, small type */
.eauto-detail-html .d-specs--04 .dsp-grid { gap: 6px 18px; }
.eauto-detail-html .d-specs--04 .dsp-l, .eauto-detail-html .d-specs--04 .dsp-v { font-size: 12px; }
/* 05 Luxury SUV Showcase — large bordered tiles */
.eauto-detail-html .d-specs--05 .dsp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.eauto-detail-html .d-specs--05 .dsp-row { flex-direction: column; gap: 4px; border: 1px solid #e6e9f0; border-radius: 14px; padding: 14px; background: #fff; box-shadow: 0 6px 16px rgba(15,23,42,.05); }
.eauto-detail-html .d-specs--05 .dsp-v { font-size: 15px; text-align: left; }
@media (max-width: 700px) { .eauto-detail-html .d-specs--05 .dsp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* 06 Modern Split — label column | value column */
.eauto-detail-html .d-specs--06 .dsp-grid { grid-template-columns: 1fr; gap: 0; }
.eauto-detail-html .d-specs--06 .dsp-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eef1f6; }
.eauto-detail-html .d-specs--06 .dsp-v { text-align: left; }
/* 07 Black & Red Sports — black tiles, red labels */
.eauto-detail-html .d-specs--07 { background: #0b0b0e; border-radius: 14px; padding: 20px; }
.eauto-detail-html .d-specs--07 .d-h2 { color: #fff; }
.eauto-detail-html .d-specs--07 .dsp-row { border-bottom: 1px solid rgba(255,255,255,.08); padding: 9px 0; }
.eauto-detail-html .d-specs--07 .dsp-l { color: #ef4444; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
.eauto-detail-html .d-specs--07 .dsp-v { color: #fff; }
/* 08 Minimal European — ultra-light, lowercase labels, generous space */
.eauto-detail-html .d-specs--08 .dsp-grid { gap: 14px 36px; }
.eauto-detail-html .d-specs--08 .dsp-row { border: 0; }
.eauto-detail-html .d-specs--08 .dsp-l { text-transform: lowercase; letter-spacing: .02em; color: #94a3b8; }
.eauto-detail-html .d-specs--08 .dsp-v { font-weight: 500; }
/* 09 Image-First Hero — frosted overlay-style cards */
.eauto-detail-html .d-specs--09 .dsp-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.eauto-detail-html .d-specs--09 .dsp-row { flex-direction: column; gap: 3px; background: rgba(15,23,42,.04); backdrop-filter: blur(4px); border-radius: 12px; padding: 12px; border: 1px solid #e8ecf3; }
.eauto-detail-html .d-specs--09 .dsp-v { text-align: left; }
@media (max-width: 860px) { .eauto-detail-html .d-specs--09 .dsp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* 10 Mobile-App Style — rounded full-width rows, soft chips */
.eauto-detail-html .d-specs--10 .dsp-grid { grid-template-columns: 1fr; gap: 8px; }
.eauto-detail-html .d-specs--10 .dsp-row { background: #f3f5f9; border-radius: 999px; padding: 10px 16px; }
.eauto-detail-html .d-specs--10 .dsp-l { font-weight: 600; color: #475569; }

/* v1.14.9 BLOCKER 3 — optional spec icons (markup absent when disabled) */
.eauto-detail-html .d-specs--icons .dsp-i { display: inline-flex; vertical-align: -3px; margin-right: 7px; color: #94a3b8; }
.eauto-detail-html .d-specs--icons .dsp-i svg { width: 15px; height: 15px; }
.eauto-detail-html .d-specs--02.d-specs--icons .dsp-i, .eauto-detail-html .d-specs--07.d-specs--icons .dsp-i { color: inherit; opacity: .9; }

/* v1.14.11 Q1 — per-vehicle/global specs style variables (widget controls override) */
.eauto-detail-html .d-specs-preset .dsp-l { color: var(--dsp-label, var(--dsp-text, #64748b)); font-size: var(--dsp-fs, 13px); }
.eauto-detail-html .d-specs-preset .dsp-v { color: var(--dsp-value, var(--dsp-text, #0f172a)); font-size: var(--dsp-fs, 13.5px); }
.eauto-detail-html .d-specs--icons .dsp-i { color: var(--dsp-icon, #94a3b8); }

/* v1.14.16c — Vehicle: Specs (icon row) client designs ir01..ir04 (real data).
   Built on the shared .d-specs-preset markup so all Style-tab controls apply. */
/* ir01 — clean white/light grid: icon + value, thin dividers (no heading emphasis) */
.eauto-detail-html .d-specs--ir01 { background:#fff; border:1px solid #eef1f6; border-radius:16px; padding:6px 8px; }
.eauto-detail-html .d-specs--ir01 .d-h2 { display:none; }
.eauto-detail-html .d-specs--ir01 .dsp-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.eauto-detail-html .d-specs--ir01 .dsp-row { display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid #eef1f6; border-right:1px solid #eef1f6; }
.eauto-detail-html .d-specs--ir01 .dsp-l { display:none; }
.eauto-detail-html .d-specs--ir01 .dsp-v { color:var(--dsp-value,#0f172a); font-weight:700; font-size:14px; text-align:left; }
.eauto-detail-html .d-specs--ir01 .dsp-i { color:var(--dsp-icon,#0f172a); margin-right:2px; }
.eauto-detail-html .d-specs--ir01 .dsp-i svg { width:17px; height:17px; }
/* ir02 — dark premium horizontal strip, gold icons, vertical dividers */
.eauto-detail-html .d-specs--ir02 { background:linear-gradient(135deg,var(--navy,#0f1c33),var(--ink,#0b0b0e)); border:1px solid rgba(231,217,180,.16); border-radius:16px; padding:8px 4px; }
.eauto-detail-html .d-specs--ir02 .d-h2 { display:none; }
.eauto-detail-html .d-specs--ir02 .dsp-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; }
.eauto-detail-html .d-specs--ir02 .dsp-row { flex-direction:column; align-items:flex-start; gap:6px; padding:14px 20px; border-right:1px solid rgba(255,255,255,.08); }
.eauto-detail-html .d-specs--ir02 .dsp-row:last-child { border-right:0; }
.eauto-detail-html .d-specs--ir02 .dsp-l { display:block; color:var(--dsp-label,rgba(231,217,180,.85)); font-size:10.5px; letter-spacing:.13em; text-transform:uppercase; order:1; }
.eauto-detail-html .d-specs--ir02 .dsp-v { color:var(--dsp-value,#fff); font-weight:700; font-size:15px; text-align:left; order:2; display:flex; align-items:center; gap:8px; }
.eauto-detail-html .d-specs--ir02 .dsp-i { color:var(--dsp-icon,#e7d9b4); order:0; }
@media (max-width:760px){ .eauto-detail-html .d-specs--ir02 .dsp-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* ir03 — white card/grid "Key specifications": light tiles, label + bold value */
.eauto-detail-html .d-specs--ir03 { background:#fff; border:1px solid #eef1f6; border-radius:18px; padding:20px; }
.eauto-detail-html .d-specs--ir03 .d-h2 { font-size:18px; color:var(--dsp-text,#0f172a); margin:0 0 14px; }
.eauto-detail-html .d-specs--ir03 .dsp-grid { grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.eauto-detail-html .d-specs--ir03 .dsp-row { flex-direction:column; align-items:flex-start; gap:5px; background:#f5f7fa; border-radius:14px; padding:14px; }
.eauto-detail-html .d-specs--ir03 .dsp-l { display:block; color:var(--dsp-label,#64748b); font-size:12px; order:2; }
.eauto-detail-html .d-specs--ir03 .dsp-v { color:var(--dsp-value,#0f172a); font-weight:700; font-size:15px; text-align:left; order:3; }
.eauto-detail-html .d-specs--ir03 .dsp-i { color:var(--dsp-icon,#475569); order:1; }
/* ir04 — black/red premium sports cards, red accent + icons, value-first */
.eauto-detail-html .d-specs--ir04 { background:#0b0b0e; border-radius:16px; padding:20px; }
.eauto-detail-html .d-specs--ir04 .d-h2 { display:none; }
.eauto-detail-html .d-specs--ir04 .dsp-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.eauto-detail-html .d-specs--ir04 .dsp-row { flex-direction:column; align-items:flex-start; gap:8px; background:#141418; border:1px solid rgba(255,255,255,.06); border-left:3px solid #ef4444; border-radius:12px; padding:16px; }
.eauto-detail-html .d-specs--ir04 .dsp-l { display:block; color:var(--dsp-label,#94a3b8); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; order:3; }
.eauto-detail-html .d-specs--ir04 .dsp-v { color:var(--dsp-value,#fff); font-weight:800; font-size:18px; text-align:left; order:2; }
.eauto-detail-html .d-specs--ir04 .dsp-i { color:var(--dsp-icon,#ef4444); order:1; }
@media (max-width:760px){ .eauto-detail-html .d-specs--ir04 .dsp-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
