/* PPF 3D selector (Beebe Luxury Auto Detail). Brand tokens match assets/service.css; the fallbacks keep it standalone. */
.ppf3d { --c: var(--cyan, #00E8DA); --ln: var(--line, #1f1f24); --sf: var(--soft, #a0a4ad); margin: 26px 0 0; color: #fff; font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.ppf3d *, .ppf3d *::before, .ppf3d *::after { box-sizing: border-box; }
.ppf3d [hidden] { display: none !important; }

.ppf3d__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--ln);
  background: radial-gradient(ellipse 70% 60% at 50% 62%, #12262a 0%, #070b0c 55%, #000 100%); outline: none; }
.ppf3d__stage:focus-visible { box-shadow: 0 0 0 3px var(--c); }
.ppf3d__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.ppf3d__stage canvas:active { cursor: grabbing; }
.ppf3d__stage.is-hot canvas { cursor: pointer; }
.ppf3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.ppf3d.is-live .ppf3d__poster { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .ppf3d__stage { aspect-ratio: 4 / 3.4; border-radius: 14px; } }

.ppf3d__start { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--c); color: #03110f; cursor: pointer;
  font: 700 1rem 'Syne', system-ui, sans-serif; box-shadow: 0 0 18px rgba(0,232,218,.3); white-space: nowrap; }
.ppf3d__start svg { width: 20px; height: 20px; }
.ppf3d__start:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ppf3d__start[aria-busy="true"] { cursor: progress; }
.ppf3d__msg { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.72);
  color: #d3d5da; font-size: .9rem; line-height: 1.5; text-align: center; }

.ppf3d__hud { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; }
.ppf3d__hud button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.45);
  color: #fff; font: 600 1.15rem/1 'Inter', system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ppf3d__hud button:hover { border-color: var(--c); color: var(--c); }
.ppf3d__hud button:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.ppf3d__hint { position: absolute; left: 14px; bottom: 12px; margin: 0; font-size: .74rem; letter-spacing: .04em; color: rgba(255,255,255,.62); pointer-events: none; transition: opacity .6s; }
.ppf3d__hint.is-gone { opacity: 0; }

.ppf3d__tag { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 12px)); padding: 7px 12px; border-radius: 999px;
  background: rgba(3,17,15,.88); border: 1px solid var(--c); color: #fff; font: 700 .82rem 'Syne', system-ui, sans-serif; white-space: nowrap;
  pointer-events: none; box-shadow: 0 0 14px rgba(0,232,218,.35); }
.ppf3d__tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; margin-left: -1px; background: var(--c); }

.ppf3d__pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
@media (max-width: 860px) { .ppf3d__pkgs { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.ppf3d__pkg { display: flex; flex-direction: column; border: 1px solid var(--ln); border-radius: 16px; background: linear-gradient(160deg, #121317, #0a0a0c); overflow: hidden; }
.ppf3d__pkg.is-on { border-color: var(--c); box-shadow: 0 0 0 1px rgba(0,232,218,.35) inset, 0 0 22px rgba(0,232,218,.12); }
.ppf3d__pick { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; padding: 16px 16px 8px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.ppf3d__pick:focus-visible { outline: 2px solid var(--c); outline-offset: -4px; border-radius: 14px; }
.ppf3d__pick small { display: block; color: var(--c); font: 700 .66rem 'Syne', system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.ppf3d__pick b { display: block; font: 800 1.02rem/1.2 'Syne', system-ui, sans-serif; margin: 6px 0 2px; }
.ppf3d__pick .price { display: block; font: 800 1.4rem 'Syne', system-ui, sans-serif; margin: 4px 0 0; }
.ppf3d__pick .price i { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--sf); margin-right: 5px; }
.ppf3d__quote { display: flex; align-items: center; min-height: 44px; padding: 0 16px 6px; color: var(--c); font: 700 .88rem 'Syne', system-ui, sans-serif; text-decoration: none; }
.ppf3d__quote:hover { text-decoration: underline; }
.ppf3d__quote:focus-visible { outline: 2px solid var(--c); outline-offset: -4px; border-radius: 10px; }
@media (max-width: 640px) { .ppf3d__pick { padding: 13px 13px 4px; } .ppf3d__pick b { font-size: .92rem; } .ppf3d__pick .price { font-size: 1.15rem; } .ppf3d__quote { padding: 0 13px 4px; font-size: .82rem; } }
@media (max-width: 379px) { .ppf3d__pick .price i { display: block; margin: 0 0 2px; } }   /* 320-360 px phones: 'from' on its own line, or '$5,800' runs past the card */

.ppf3d__live { margin: 16px 0 0; max-width: 72ch; color: #d3d5da; font-size: .98rem; line-height: 1.6; min-height: 3.2em; }
.ppf3d__live b { color: #fff; font-family: 'Syne', system-ui, sans-serif; }
.ppf3d__live span { display: block; color: var(--sf); font-size: .9rem; margin-top: 4px; }
.ppf3d__credit { margin: 12px 0 0; color: #8a8c93; font-size: .74rem; line-height: 1.5; }
.ppf3d__credit a { color: #9a9ca3; }
@media (prefers-reduced-motion: reduce) { .ppf3d__poster, .ppf3d__hint { transition: none; } }
