/* The directional mark is ink on the same face as its label. */
[data-vt-action] {
  --vt-action-edge: #a38b62;
  --vt-action-focus: #f1d8a2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  touch-action: manipulation;
}

:is(.hero .hero-invitation, .next-step, .configurator .selection-summary,
    .equipment .equipment-copy, .configurator .body-stage) [data-vt-action] {
  border: 1px solid var(--vt-action-edge);
  border-radius: 2px 5px 2px 5px;
}

#see-times[data-vt-action],
#explore-machine[data-vt-action],
#explore-body[data-vt-action] {
  --vt-action-edge: #b4a383;
}

#see-times[data-vt-action] {
  --vt-action-focus: #564520;
}

#explore-machine[data-vt-action] {
  --vt-action-focus: #604c24;
}

#explore-body[data-vt-action] {
  width: 100%;
  justify-content: center;
  gap: 9px;
}

/* Stateful + / check controls use separate markup. Only directional CTAs
   retire the old rotating sign. The first label span remains the button text. */
[data-vt-action] > .action-sign,
#closing-continue[data-vt-action] > span[aria-hidden="true"]:not(.vt-action-mark) {
  display: none;
}

[data-vt-action] .vt-action-mark {
  display: inline-flex;
  position: relative;
  pointer-events: none;
  flex: none;
  align-items: center;
  width: 39px;
  height: 26px;
}
.vt-action-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vt-action-arrow {
  stroke: currentColor;
  stroke-width: 1.65;
  transform: rotate(var(--vt-angle, 0deg));
  transform-origin: 24px 13px;
  transition: transform 135ms cubic-bezier(.22,1,.36,1);
}
[data-vt-action="explore"] { --vt-angle: -35deg; }
/* Press feedback happens before navigation or dialog opening, including touch. */
[data-vt-action]:enabled:active,
a[data-vt-action]:active {
  transform: translateY(1px) scale(.987);
  transition: transform 55ms ease-out;
}
[data-vt-action]:focus-visible {
  outline: 2px solid var(--vt-action-focus);
  outline-offset: 3px;
}
[data-vt-action]:disabled .vt-action-mark { opacity: .32; }
.map-quote-times[data-vt-action] {
  gap: 3px;
  padding-inline: 8px 5px;
}
.map-quote-times .vt-action-mark { width: 24px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  [data-vt-action]:hover:not(:disabled) .vt-action-arrow {
    transform: translateX(2px) rotate(var(--vt-angle, 0deg));
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-vt-action] .vt-action-arrow,
  [data-vt-action]:enabled:active,
  a[data-vt-action]:active {
    transition: none !important;
    animation: none !important;
  }
  [data-vt-action]:enabled:active, a[data-vt-action]:active { transform: none; }
  [data-vt-action]:hover:not(:disabled) .vt-action-arrow {
    transform: rotate(var(--vt-angle, 0deg));
  }
}
