/* Delivery studio: isolated from the homepage hero and production storefront. */
#delivery-3d-stage {
  height: 520px !important;
  border: 1px solid rgba(235,188,135,.16) !important;
  background: radial-gradient(ellipse at 50% 42%, #34271c 0, #181612 45%, #0d1010 85%) !important;
  box-shadow: inset 0 1px 0 #ffffff0a, 0 22px 50px #0003 !important;
}
#delivery-3d-stage[data-stage="2"] { background: radial-gradient(ellipse at 50% 45%, #2c352d, #111917 65%, #0b1111) !important; }
#delivery-3d-stage[data-stage="3"] { background: radial-gradient(ellipse at 50% 45%, #30382b, #141c18 65%, #0b1111) !important; }
#delivery-3d-canvas { touch-action: pan-y; outline-offset: -5px; border-radius: inherit; }
#delivery-3d-stage [hidden], #delivery-3d-canvas[hidden] { display: none !important; }
#delivery-3d-stage .journey-telemetry-badge {
  top: 18px !important; left: 18px !important; right: 18px;
  width: fit-content; max-width: calc(100% - 36px);
  background: #111713b8 !important; border: 1px solid #d1b08b26 !important;
  font-size: .64rem !important; letter-spacing: .07em; line-height: 1.5;
}
#delivery-3d-stage .telemetry-dot { flex-shrink: 0; }
#delivery-3d-stage .journey-playback-hud { bottom: 20px !important; left: 18px !important; background: #101613df !important; }
#delivery-3d-stage .journey-3d-hint {
  bottom: 24px !important; right: 18px !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  padding: 0 !important; font-size: .68rem !important; color: #afbaac !important;
}
#delivery-3d-stage .hud-btn:disabled { opacity: .35; cursor: default; }
#delivery-3d-canvas:focus-visible, .delivery-journey-section button:focus-visible {
  outline: 2px solid #ffb970 !important; outline-offset: 3px;
}
#delivery-3d-canvas:focus-visible { outline-offset: -5px; }
#journey-3d-fallback { position: absolute; inset: 65px 20px 75px; text-align: center; color: #c4baa9; }
#journey-3d-fallback img { width: 100%; height: calc(100% - 45px); object-fit: cover; border-radius: 12px; opacity: .85; }
#journey-3d-fallback p { font-size: .8rem; margin-top: 10px; }
.journey-studio-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#journey-arrival-map .leaflet-control-attribution { font-size: 9px; background: #ffffffda; color: #333; }
.journey-map-preview-note { font-size: .72rem; color: #a4aa9f; margin: 0; }
@media (max-width: 992px) {
  #delivery-3d-stage { height: 450px !important; }
}
@media (max-width: 600px) {
  #delivery-3d-stage { height: 380px !important; min-height: 360px !important; }
  #delivery-3d-stage .journey-telemetry-badge { top: 12px !important; left: 12px !important; right: 12px; max-width: calc(100% - 24px); font-size: .57rem !important; }
  #delivery-3d-stage .journey-playback-hud { bottom: 14px !important; left: 12px !important; }
  #delivery-3d-stage .journey-3d-hint { bottom: 23px !important; right: 12px !important; font-size: .6rem !important; }
  .delivery-journey-section .journey-step-btn { min-width: 0; flex-direction: column; }
  .delivery-journey-section .step-info { min-width: 0; width: 100%; }
  .delivery-journey-section .journey-step-btn .step-info strong { display: block; font-size: .68rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .delivery-journey-section .journey-desc-card, .delivery-journey-section .telemetry-dot { animation: none !important; }
}
