/* Approved dark automotive theme. Product/vehicle states come from their APIs. */
:root { --dm-emerald: #00e6b4; --dm-glass-line: #42776b; }
.hero { min-height: 520px; background: #050e10; }
.hero__inner { grid-template-columns: minmax(0, 1010px) 1fr; gap: 28px; max-width: 1700px; }
.hero__col--left { padding: 26px 0 32px; gap: 17px; }
.hero__bg-img { object-position: 78% 50%; opacity: .94; }
.hero__bg-gradient { background: linear-gradient(90deg, #030c0e 0%, #061110ce 25%, #071d152e 62%, transparent), linear-gradient(0deg, #071312, transparent 30%); }
.hero__headline h1 { font-size: clamp(38px, 3.9vw, 64px); font-weight: 900; letter-spacing: -.025em; line-height: .99; }
.hero__headline h1 span { color: var(--dm-emerald); text-shadow: 0 0 30px #00e6b41f; }
.hero__headline p { margin-top: 12px; font-size: 18px; color: #d4e1e0; max-width: none; }
.hero__eyebrow { display: none; }
.hero__stats { display: none; }
.hero__stat { font-size: 11px; padding: 6px 12px; border-radius: 5px; background: #112a2699; border-color: #54776f4d; }
.cmd-center { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: 19px !important; gap: 20px; border: 1px solid #4d9b88 !important; border-radius: 12px !important; background: linear-gradient(125deg, #11352be8, #071c1bdc) !important; box-shadow: 0 0 32px #00ffb51a, inset 0 1px 0 #b8ffe738, inset 0 0 22px #7dffd40b; backdrop-filter: blur(16px); }
.dm-identification { min-width: 0; }
.cmd-center__head { padding: 0 0 10px; gap: 10px; }
.cmd-center__head-icon { background: #00e6b410; }
.cmd-center__title { font-size: 12px; letter-spacing: .035em; }
.cmd-center__tagline { font-size: 11px; color: #a0bcb3; }
.cmd-center .cmd-center__tabs { margin-bottom: 17px; border-color: #38675b; }
.cmd-center .cmd-tab { flex: 1; font-size: 11px; padding: 10px 2px; border-radius: 0; white-space: nowrap; }
.cmd-center .cmd-tab.is-active { background: linear-gradient(0deg, #00e4b014, transparent); color: #b5ffeb; box-shadow: inset 0 -2px var(--dm-emerald), 0 7px 12px -12px #00ffcc; }
.cmd-center .dm-identify-form { gap: 12px; }
.cmd-center .dm-identify-form label { font-size: 11px; color: #b6d1c6; }
.cmd-center .dm-identify-form > button { min-height: 47px; padding: 12px 24px; background: var(--dm-emerald); color: #003327; border-color: var(--dm-emerald); font-size: 13px; font-weight: 800; text-transform: uppercase; box-shadow: 0 0 16px #00e6b420; }
.cmd-center .dm-plate-input { background: #f4faf7; border: 1px solid #a5d5c7; border-radius: 6px; overflow: hidden; }
.cmd-center .dm-plate-input > span { background: #183cab; color: white; font-size: 12px; padding: 0 11px; }
.cmd-center .dm-plate-input input { background: #f4faf7; color: #071413; border: 0; padding: 9px; font-size: 25px; font-weight: 800; text-align: center; letter-spacing: .025em; }
.cmd-center input[name=vin] { font-size: 12px; padding: 14px 10px; }
.cmd-center .dm-vin-country { width: 60px; flex-shrink: 0; }
.cmd-center .dm-manual-form { gap: 12px; }
.cmd-center .dm-manual-form select { font-size: 12px; }
.cmd-center .dm-vehicle-selected { background: #0d2824ba; border: 1px solid #416d5c; border-radius: 8px; padding: 14px; }
.cmd-center .dm-vehicle-selected strong { font-size: 14px; }
.cmd-center [data-vehicle-message]:empty { display: none; }
.cmd-center [data-vehicle-message] { font-size: 12px; line-height: 1.6; }
.dm-vehicle-passport { padding-inline-start: 20px; border-inline-start: 1px solid #47726580; min-width: 0; }
.dm-passport-heading h2 { font-family: inherit; font-size: 17px; color: #f0fff7; font-weight: 700; margin: 0 0 8px; }
.dm-passport-heading > span { font-size: 9px; letter-spacing: .12em; color: #8ad7ba; }
.dm-vehicle-passport #dm-passport-name { font-size: 12px; color: #b3ccc4; margin: 14px 0; line-height: 1.6; min-height: 38px; }
.dm-passport-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dm-passport-specs > div { border-inline-end: 1px solid #31544b; padding-inline-end: 8px; }
.dm-passport-specs > div:last-child { border: 0; }
.dm-passport-specs i { color: var(--dm-emerald); font-size: 23px; margin: 1px 0 12px; }
.dm-passport-specs small { font-size: 10px; display: block; line-height: 1.45; color: #afcbbd; min-height: 29px; }
.dm-passport-specs strong { display: block; font-size: 14px; margin-top: 5px; color: #e6fff3; overflow-wrap: anywhere; }
.dm-passport-note { display: flex; gap: 10px; margin: 16px 0 12px; padding-top: 13px; border-top: 1px solid #31594b; }
.dm-passport-note i { color: var(--dm-emerald); font-size: 21px; }
.dm-passport-note p { font-size: 11px; color: #b6cfc3; line-height: 1.6; margin: 0; }
.dm-history-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid #26a781; padding: 10px 12px; color: #87f9d0; font-size: 12px; text-decoration: none; border-radius: 5px; }
.dm-history-link:hover { background: #1a4939; color: #d2ffed; }
.dm-history-note { font-size: 10px; color: #9bbeb0; display: block; line-height: 1.5; margin-top: 8px; }
.dm-parts-command { position: relative; margin-top: -10px; z-index: 2; padding: 0 0 12px; background: #071312; }
.dm-parts-command__inner { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid #365b52; border-radius: 9px; background: linear-gradient(105deg, #173830e8, #0b2221); box-shadow: inset 0 1px #c8ffdf0f, 0 8px 28px #0003; }
.dm-parts-search { display: flex; flex: 1; min-width: 0; gap: 12px; }
.dm-parts-search__field { display: flex; flex: 1; align-items: center; min-width: 0; gap: 13px; background: #f1f7f5; border-radius: 6px; padding: 0 15px; border: 1px solid #d0e4dc; }
.dm-parts-search__field > i { color: #177a64; font-size: 22px; }
.dm-parts-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #102823; padding: 14px 0; font: inherit; font-size: 15px; }
.dm-parts-search__field:focus-within { outline: 2px solid var(--dm-emerald); outline-offset: 3px; }
.dm-parts-search > button { border: 0; background: var(--dm-emerald); border-radius: 6px; color: #03291e; font-size: 13px; text-transform: uppercase; font-weight: 800; padding: 0 24px; cursor: pointer; }
.dm-parts-shortcut { display: flex; align-items: center; gap: 12px; background: none; border: 1px solid #45796a; border-radius: 6px; padding: 12px 16px; color: #d5eee7; font-family: inherit; font-size: 12px; cursor: pointer; }
.dm-parts-shortcut i { color: var(--dm-emerald); font-size: 18px; }
.dm-parts-command__note { font-size: 11px; color: #a8c8bb; max-width: 190px; line-height: 1.5; margin: 0; }
.sys-strip { padding: 12px 0 18px !important; background: #071312 !important; }
.sys-strip__title { text-transform: none; letter-spacing: -.02em; font-size: 22px; font-weight: 750; color: #effaf5 !important; margin-bottom: 14px; }
.sys-strip__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sys-card { position: relative; padding: 12px 10px !important; gap: 10px !important; min-height: 105px; border: 1px solid #3a5a52 !important; background: linear-gradient(135deg, #19302b, #0a1c19) !important; border-radius: 7px !important; text-decoration: none; }
.sys-card:hover { border-color: #44bba0 !important; background: linear-gradient(135deg, #20483a, #0c2a21) !important; box-shadow: 0 0 20px #00e6b416; transform: translateY(-3px); }
.sys-card::after { content: '›'; margin-inline-start: auto; color: #a6c7bc; font-size: 24px; }
.sys-card__icon { width: 72px; height: 78px; flex-shrink: 0; border-radius: 0; background: transparent !important; }
.sys-card__icon img { width: 76px; height: 78px; object-fit: contain; filter: drop-shadow(0 7px 6px #0009); }
.sys-card__name { font-size: 14px !important; color: #f0faf6 !important; }
.sys-card__desc { font-size: 10px !important; color: #b5c9c1 !important; line-height: 1.5; }
.shop-section { padding-top: 12px; background: #071312 !important; }
.shop-filters { border-color: #31594b !important; background: #0e251f !important; }
.shop-card { border-color: #36574e !important; background: linear-gradient(145deg, #152c25, #091b16) !important; border-radius: 9px !important; box-shadow: inset 0 1px #ceffe60a; }
.shop-card:hover { border-color: #58b498 !important; box-shadow: 0 12px 30px #0004; }
.shop-card__img { background: radial-gradient(ellipse at 45% 55%, #dce5dd0d, transparent 70%) !important; border-bottom-color: #2b4d41 !important; }
.shop-card__name { color: #ebfff3; }
.shop-card__price { font-size: 25px; font-variant-numeric: tabular-nums; }
.shop-card__btn-cart { background: var(--dm-emerald) !important; color: #002e21 !important; border-radius: 6px; }
.shop-section__title { letter-spacing: -.02em; }
.trust-strip { border-top: 1px solid #315748; background: #061311 !important; }
.trust-item__icon { width: 45px; height: 45px; }
.trust-item__icon svg { width: 31px; height: 31px; }
.dm-vehicle-catalogue { background: #081b17; border-color: #2a5446; }
.dm-vehicle-part, .dm-vehicle-categories button { border-color: #375c50; }
body #dm-asst-panel { border: 1px solid #407561; background: #0b211b; box-shadow: 0 10px 40px #0009, 0 0 24px #00e6b412; }
body #dm-asst-head { background: #0c211c; border-bottom: 1px solid #427665; }
body #dm-asst-msgs { background: #091a17; }
body #dm-asst-input-row { background: #0c211c; }
body #dm-asst-input { border-radius: 8px; }
.cmd-center button:focus-visible, .sys-card:focus-visible, .dm-history-link:focus-visible, .dm-parts-command button:focus-visible { outline: 3px solid #9bfbdc; outline-offset: 4px; }
@media (min-width: 1400px) { .container { max-width: 1640px !important; padding-left: 32px; padding-right: 32px; } }
@media (max-width: 1250px) {
 .hero__inner { grid-template-columns: minmax(0, 880px) 1fr; }
 .cmd-center { gap: 16px; padding: 17px !important; }
 .cmd-center .dm-identify-form > button { padding-inline: 16px; }
 .sys-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .sys-card__icon, .sys-card__icon img { width: 85px; height: 82px; }
 .sys-card__name { font-size: 16px !important; }
 .sys-card__desc { font-size: 11px !important; }
 .dm-parts-command__note { display: none; }
}
@media (max-width: 950px) {
 .hero__inner { grid-template-columns: 1fr; }
 .hero__bg-img { opacity: .5; object-position: 83% 50%; }
 .hero__col--left { padding: 32px 0 32px; }
 .cmd-center { grid-template-columns: 1.1fr 1fr; }
 .dm-passport-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
 .dm-passport-specs small { min-height: 0; }
 .dm-passport-specs i { font-size: 20px; margin-bottom: 6px; }
 .dm-parts-command__inner { flex-wrap: wrap; }
 .dm-parts-search { flex-basis: 100%; }
 .dm-parts-shortcut { width: 100%; justify-content: center; }
}
@media (max-width: 680px) {
 .hero__headline h1 { font-size: clamp(33px, 8.5vw, 49px); }
 .hero__headline p { font-size: 15px; }
 .hero__bg-img { opacity: .35; }
 .hero__eyebrow { font-size: 9px; }
 .hero__stats { gap: 6px; }
 .hero__stat { padding: 6px 8px; font-size: 10px; }
 .cmd-center { grid-template-columns: 1fr; gap: 20px; }
 .dm-vehicle-passport { border-inline-start: 0; border-top: 1px solid #3d6b5a; padding: 18px 0 0; }
 .dm-passport-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
 .dm-passport-specs small { font-size: 10px; min-height: 29px; }
 .dm-passport-specs strong { font-size: 12px; }
 .dm-vehicle-passport #dm-passport-name { min-height: 0; }
 .dm-parts-command__inner { padding: 13px; }
 .dm-parts-search { flex-wrap: wrap; }
 .dm-parts-search__field { flex-basis: 100%; }
 .dm-parts-search__field input { font-size: 14px; }
 .dm-parts-search > button { min-height: 45px; width: 100%; }
 .sys-strip__title { font-size: 20px; }
 .sys-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
 .sys-card { flex-direction: column; align-items: flex-start; padding: 13px !important; gap: 5px !important; }
 .sys-card::after { position: absolute; inset: 16px 12px auto auto; }
 .sys-card__icon, .sys-card__icon img { width: 80px; height: 75px; }
 .sys-card__name { font-size: 14px !important; }
 .sys-card__desc { font-size: 10px !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
