.status-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--teko-space-2);
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: var(--teko-radius-pill);
    background: rgba(15, 143, 165, 0.1);
    color: var(--teko-brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.status-chip::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.status-chip.success,
.status-chip--success {
    background: rgba(39, 124, 70, 0.12);
    color: var(--teko-success);
}

.status-chip.warning,
.status-chip--warning {
    background: rgba(138, 90, 0, 0.12);
    color: var(--teko-warning);
}

.status-chip.danger,
.status-chip--danger {
    background: rgba(150, 52, 52, 0.12);
    color: var(--teko-danger);
}

.status-chip.neutral,
.status-chip--neutral,
.status-chip.muted,
.status-chip--muted {
    background: rgba(31, 45, 51, 0.08);
    color: var(--teko-muted);
}

.action-state {
    display: grid;
    gap: var(--teko-space-2);
    padding: var(--teko-space-4);
    border: 1px solid rgba(31, 45, 51, 0.1);
    border-radius: 14px;
    background: rgba(31, 45, 51, 0.035);
}

.action-state__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--teko-space-3);
    flex-wrap: wrap;
}

.action-state h2,
.action-state h3,
.action-state p {
    margin: 0;
}

.action-state p {
    color: var(--teko-muted);
    line-height: 1.6;
}

.action-state--success {
    border-color: rgba(39, 124, 70, 0.2);
    background: rgba(39, 124, 70, 0.07);
}

.action-state--warning {
    border-color: rgba(138, 90, 0, 0.2);
    background: rgba(138, 90, 0, 0.07);
}

.action-state--danger {
    border-color: rgba(150, 52, 52, 0.2);
    background: rgba(150, 52, 52, 0.07);
}

.purchase-stepper {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    counter-reset: checkout-step;
}

.purchase-stepper__item {
    position: relative;
    min-width: 0;
    padding: 0 var(--teko-space-3);
    display: grid;
    justify-items: center;
    gap: var(--teko-space-2);
    color: var(--teko-muted);
    text-align: center;
    counter-increment: checkout-step;
}

.purchase-stepper__item::before {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 2px solid var(--teko-public-line);
    border-radius: 50%;
    background: var(--teko-public-card);
    color: var(--teko-muted);
    content: counter(checkout-step);
    font-size: 0.78rem;
    font-weight: 700;
}

.purchase-stepper__item::after {
    position: absolute;
    z-index: 1;
    top: 15px;
    left: calc(50% + 16px);
    width: calc(100% - 32px);
    height: 2px;
    background: var(--teko-public-line);
    content: "";
}

.purchase-stepper__item:last-child::after {
    display: none;
}

.purchase-stepper__item.is-complete,
.purchase-stepper__item.is-current {
    color: var(--teko-ink-public);
    font-weight: 700;
}

.purchase-stepper__item.is-complete::before {
    border-color: var(--teko-success);
    background: var(--teko-success);
    color: #ffffff;
    content: "✓";
}

.purchase-stepper__item.is-complete::after {
    background: var(--teko-success);
}

.purchase-stepper__item.is-current::before {
    border-color: var(--teko-brand-dark);
    color: var(--teko-brand-dark);
    box-shadow: 0 0 0 4px rgba(10, 102, 120, 0.12);
}

.purchase-stepper__item.is-cancelled::before {
    border-color: var(--teko-danger);
    color: var(--teko-danger);
    content: "×";
}

.purchase-stepper__label {
    font-size: 0.78rem;
    line-height: 1.35;
}

.empty-state {
    padding: var(--teko-space-5);
    display: grid;
    gap: var(--teko-space-3);
    justify-items: start;
    border: 1px dashed var(--teko-app-line);
    border-radius: var(--teko-radius-app);
    background: var(--teko-app-panel);
}

.empty-state h2,
.empty-state h3,
.empty-state p {
    margin: 0;
}

.empty-state p {
    max-width: 62ch;
    color: var(--teko-muted);
    line-height: 1.6;
}

.visually-hidden,
.honeypot-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 640px) {
    .purchase-stepper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .purchase-stepper__item {
        min-height: 52px;
        padding: 0 0 var(--teko-space-4) 46px;
        justify-items: start;
        align-content: start;
        text-align: left;
    }

    .purchase-stepper__item::before {
        position: absolute;
        top: 0;
        left: 0;
    }

    .purchase-stepper__item::after {
        top: 32px;
        left: 15px;
        width: 2px;
        height: calc(100% - 32px);
    }

    .purchase-stepper__label {
        padding-top: 7px;
    }
}
