/* Explain: Styles for the touch navigation overlay on the car viewer. */
.viewer-touch-shell { position: relative; }
.viewer-section.has-touch-navigation { overflow: clip; }
.viewer-touch-navigation {
    position: sticky;
    top: 0;
    z-index: 12;
    background: var(--garage-background);
    color: var(--garage-text);
    border-block: 1px solid var(--garage-border);
}
.viewer-touch-navigation-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    padding-block: 12px;
}
.viewer-touch-hint {
    flex: 1 1 260px;
    min-width: 0;
    color: var(--garage-muted);
    font-size: 11px;
    line-height: 1.65;
}
.viewer-touch-actions {
    flex: 1 1 330px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.viewer-touch-actions .viewer-control {
    min-width: 0;
    min-height: 44px;
    padding: 10px;
    line-height: 1.45;
}
.viewer-touch-toggle[aria-pressed="true"] {
    background: var(--garage-raised);
    border-color: var(--garage-accent);
}
@media (max-width: 900px), (any-pointer: coarse) {
    .viewer-section .car-stage { touch-action: pan-y pinch-zoom; }
}
.viewer-section .car-stage[data-touch-navigation="scroll"] { touch-action: pan-y pinch-zoom; }
.viewer-section .car-stage[data-touch-navigation="interact"] { touch-action: none; }
.car-stage[data-touch-navigation] .viewer-instructions { display: none; }