/* Wizard container — keeps the stepper and card grid inside one centered
   column matching docs/static-export's .picker-page, instead of the
   grid's own 1200px max-width leaving a large blank area on desktop when
   a step has few items. */
.rodasshop-wizard-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 899px) {
    .rodasshop-wizard-container {
        padding: 24px 16px;
    }

    .rodasshop-wizard-container .rodasshop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.picker-title {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}

.picker-crumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.picker-crumb-item {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-secondary, #9a9a9a);
}

.picker-crumb-ano {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary, #E2101C);
    letter-spacing: 0.5px;
}

.picker-crumb-separator {
    color: var(--color-border, #e5e5e5);
}

.rodasshop-wizard-container .rodasshop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    max-width: none;
}

.rodasshop-wizard-container .rodasshop-grid .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--color-bg, #f4f4f5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

/* Vehicle Wizard Stepper */
.rodasshop-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 520px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 2rem;
    padding: 20px 24px;
    background: var(--color-white, #fff);
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: var(--card-radius, 8px);
    position: relative;
}

/* Connecting line behind the circles */
.rodasshop-stepper::before {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(12.5% + 18px);
    right: calc(12.5% + 18px);
    height: 2px;
    background: var(--color-border, #ddd);
    z-index: 0;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary, #666);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.stepper-step-icon {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--color-border, #ddd);
    background: var(--color-white, #fff);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Active step: filled red circle */
.stepper-step.is-active .stepper-step-icon {
    background: var(--color-primary, #E2101C);
    border-color: var(--color-primary, #E2101C);
}

.stepper-step.is-active {
    color: var(--color-primary, #E2101C);
    font-weight: 700;
}

/* Completed step: filled but muted circle + clickable link color */
.stepper-step.is-completed .stepper-step-icon {
    background: var(--color-primary, #E2101C);
    border-color: var(--color-primary, #E2101C);
    opacity: 0.5;
}

.stepper-step.is-completed {
    color: var(--color-primary, #E2101C);
    text-decoration: none;
}

.stepper-step.is-completed:hover {
    text-decoration: underline;
}
