/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 *
 * Purchase progress shared by onboarding and checkout.
 */
.hop-progress {
    min-width: 0;
    border-block: 1px solid var(--hd-border);
    color: var(--hd-muted);
    font: 600 .8125rem/1.4 var(--hd-sans);
}

.hop-progress__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 9px 0;
}

.hop-progress__step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 5px 8px;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.hop-progress__marker {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.hop-progress__step[data-progress-state="complete"] {
    color: var(--hd-primary);
}

.hop-progress__step[data-progress-state="complete"] .hop-progress__marker {
    background: var(--hd-sage);
}

.hop-progress__step[data-progress-state="current"] {
    background: var(--hd-primary);
    color: white;
}

.hop-progress__step[data-progress-state="current"] .hop-progress__marker {
    background: currentColor;
}

.hop-progress__mobile {
    display: none;
}

.hop-progress__mobile summary {
    min-height: 44px;
    padding: 12px 6px;
    color: var(--hd-primary);
    cursor: pointer;
}

.hop-progress__mobile summary:focus-visible {
    outline: 2px solid var(--hd-primary);
    outline-offset: 2px;
}

.hop-progress__current {
    font-weight: 700;
}

.hop-progress__disclosure-label {
    margin-inline-start: 8px;
    color: var(--hd-muted);
    font-weight: 500;
}

@media (max-width: 575px) {
    .hop-progress__desktop {
        display: none;
    }

    .hop-progress__mobile {
        display: block;
    }

    .hop-progress__steps {
        gap: 4px 6px;
        padding-top: 0;
    }

    .hop-progress__step {
        padding-inline: 6px;
    }
}
