:root { --vto-step-accent: #7a1c28; }

.tryon-stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    margin-bottom: 24px;
    background: transparent;
    padding: 0px;
}

.tryon-stepper-track {
    position: absolute;
    top: 21px;
    right: 16.6667%;
    left: 16.6667%;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 2px;
}
.tryon-stepper-track span { background: #e2e8f0; }
.tryon-stepper-track span.is-complete { background: var(--vto-step-accent); }

.tryon-step {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    padding: 0 2px;
    color: #334155;
    text-align: center;
}
.tryon-step-marker,
.tryon-step-marker svg { display: block; width: 44px; height: 44px; }
.marker-halo { display: none; fill: #f1dfe1; }
.marker-main { fill: #fff; stroke: #e2e8f0; stroke-width: 2; }
.marker-dot { fill: #cbd5e1; }
.marker-check {
    display: none;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}
.tryon-step.is-current .marker-halo { display: block; }
.tryon-step.is-current .marker-main,
.tryon-step.is-complete .marker-main { fill: var(--vto-step-accent); stroke: none; }
.tryon-step.is-current .marker-dot { fill: #fff; }
.tryon-step.is-complete .marker-dot { display: none; }
.tryon-step.is-complete .marker-check { display: block; }

.tryon-step-label { display: flex; flex-direction: column; line-height: 1.35; }
.tryon-step-title { color: #475569; font-size: 15px; font-weight: 400; }
.tryon-step.is-current .tryon-step-title { color: var(--vto-step-accent); font-weight: 600; }

.tryon-stage-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.stage-nav-arrow {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--vto-step-accent);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
}
.stage-nav-arrow:disabled { cursor: not-allowed; opacity: .3; }
.stage-nav-arrow:focus-visible,
.tryon-step:focus-visible { outline: 2px solid var(--vto-step-accent); outline-offset: 2px; }

@media (max-width: 520px) {
    .tryon-stepper { padding: 0px; }
    .tryon-stepper-track { top: 18px; }
    .tryon-step-marker,
    .tryon-step-marker svg { width: 38px; height: 38px; }
    .tryon-step { gap: 9px; }
    .tryon-step-title { font-size: 11px; }
    .stage-nav-arrow { width: 36px; height: 36px; font-size: 28px; }
}
