/* Jimbo Elite 3D Showroom */
.el-std__stage.is-3d > img { visibility: hidden; }
.e3d { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--el-line, rgb(255 255 255 / .12));
  background: radial-gradient(120% 90% at 50% 18%, #2a3446 0%, #121822 55%, #07090d 100%); }
.el-std__stage[data-e3="night"] .e3d { background: radial-gradient(120% 90% at 50% 10%, #0f2550 0%, #070d1c 55%, #020308 100%); }
.el-std__stage[data-e3="night"] .e3d::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 18% 0%, rgb(61 139 255 / .28), transparent 70%), radial-gradient(40% 50% at 82% 0%, rgb(61 139 255 / .22), transparent 70%); pointer-events: none; }
.el-std__stage[data-e3="studio"] .e3d::before { content: ""; position: absolute; inset: 0; background: radial-gradient(34% 46% at 30% -4%, rgb(255 255 255 / .16), transparent 70%), radial-gradient(34% 46% at 70% -4%, rgb(255 190 120 / .12), transparent 70%); pointer-events: none; }
.el-std__stage[data-e3="lot"] .e3d { background: #0b0f15; }
.el-std__stage[data-e3="lot"] .e3d::before { content: ""; position: absolute; inset: -30px; background: url("./assets/elite-truck-960.webp") center / cover; filter: blur(22px) brightness(.55) saturate(1.1); pointer-events: none; }
.e3d__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; }
.el-std__stage.is-grab .e3d__cv { cursor: grabbing; }
.e3d__cv:focus-visible { box-shadow: inset 0 0 0 3px var(--el-blue-2, #6aa8ff); border-radius: 22px; }
.e3d__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #dfe6f1; font-size: var(--text-xs, .85rem); font-weight: 600; letter-spacing: .02em; }
.e3d__load[hidden] { display: none; }
.e3d__ring { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .15); border-top-color: var(--el-blue, #3d8bff); animation: e3spin 1s linear infinite; }
@keyframes e3spin { to { transform: rotate(360deg); } }
.e3d__hint { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgb(6 9 14 / .72); backdrop-filter: blur(8px); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: .4s; pointer-events: none; }
.e3d__hint.is-show { opacity: 1; transform: translate(-50%, 0); }
.e3d__hint.is-gone { opacity: 0 !important; }
.e3d__hand { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; animation: e3hand 1.8s ease-in-out infinite; }
@keyframes e3hand { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
.e3d__deg { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgb(6 9 14 / .6); color: #fff; font: 800 .74rem/1 var(--font-display, sans-serif); font-variant-numeric: tabular-nums; pointer-events: none; }
.e3d__deg i { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .3); }
.e3d__deg i::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: #ffb35c; }
.el-std__stage[data-e3="night"] .e3d__deg i::after { background: #6aa8ff; }
.el-std__stage.is-3d .el-pin { transition: opacity .25s; }
.el-std__stage.is-3d .el-tip { transition: none; }

.e3d-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.e3d-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--el-line, rgb(255 255 255 / .12)); background: rgb(255 255 255 / .04); }
.e3d-seg button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 0; border-radius: 999px; background: none; color: var(--el-mute, #aab4c3); font: 700 .8rem/1 var(--font-body, sans-serif); cursor: pointer; transition: .2s; }
.e3d-seg button svg { width: 15px; height: 15px; }
.e3d-seg button:hover { color: #fff; }
.e3d-seg button[aria-pressed="true"] { background: linear-gradient(160deg, var(--el-blue, #3d8bff), #1f5fd1); color: #fff; box-shadow: 0 6px 18px rgb(61 139 255 / .35); }
.e3d-ctl { display: inline-flex; gap: 6px; }
.e3d-ctl[hidden], .e3d-note[hidden] { display: none; }
.e3d-ctl button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--el-line, rgb(255 255 255 / .12)); background: rgb(255 255 255 / .05); color: #fff; cursor: pointer; transition: .2s; }
.e3d-ctl button:hover { background: rgb(255 255 255 / .12); }
.e3d-ctl button[aria-pressed="true"] { background: var(--el-blue, #3d8bff); border-color: transparent; }
.e3d-seg button:focus-visible, .e3d-ctl button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.e3d-note { flex-basis: 100%; margin: 0; font-size: .74rem; line-height: 1.45; color: var(--el-mute, #aab4c3); }
@media (max-width: 560px) {
  .e3d-seg { width: 100%; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; } .e3d-seg button { justify-content: center; padding: 9px 8px; font-size: .76rem; white-space: nowrap; gap: 4px; }
  .e3d-ctl { width: 100%; justify-content: space-between; } .e3d-ctl button { width: 44px; height: 40px; }
  .e3d__hint { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) { .e3d__ring, .e3d__hand { animation: none; } }

/* 360 Spin */
.el-std__stage.is-360 .el-pin, .el-std__stage.is-360 .el-tip { display: none !important; }
.e360 { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--el-line, rgb(255 255 255 / .12)); background: #0b0f15; }
.e360[hidden] { display: none; }
.e360__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; }
.el-std__stage.is-grab .e360__cv { cursor: grabbing; }
.e360__cv:focus-visible { box-shadow: inset 0 0 0 3px var(--el-blue-2, #6aa8ff); border-radius: 22px; }
.e360__tag { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: rgb(6 9 14 / .66); backdrop-filter: blur(8px); color: #fff; font: 800 .68rem/1 var(--font-display, sans-serif); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.e360__tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #ffb35c; vertical-align: 1px; }
.e360__ring { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgb(6 9 14 / .66); backdrop-filter: blur(8px); color: #fff; font: 800 .76rem/1 var(--font-display, sans-serif); font-variant-numeric: tabular-nums; pointer-events: none; }
.e360__ring b { min-width: 3.2ch; text-align: right; }
.e360__ring svg { width: 34px; height: 34px; }
.e360__ring circle { fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 4; }
.e360__ring .e360__arc { stroke: var(--el-blue, #3d8bff); stroke-dasharray: 100; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 30px 30px; }
.e360__ring rect { fill: #ffb35c; }
.e360__sides { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgb(6 9 14 / .66); backdrop-filter: blur(8px); }
.e360__sides button { padding: 7px 11px; border: 0; border-radius: 999px; background: none; color: #cdd5e1; font: 700 .74rem/1 var(--font-body, sans-serif); cursor: pointer; transition: .2s; }
.e360__sides button:hover { color: #fff; }
.e360__sides button[aria-pressed="true"] { background: #fff; color: #0b0f15; }
.e360__sides button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.e360 .e3d__hint { bottom: 58px; }
@media (max-width: 560px) { .e360__sides button { padding: 6px 8px; font-size: .68rem; } .e360__tag { font-size: .6rem; } .e360__ring svg { width: 28px; height: 28px; } }
