/*
 * PCStore shared empty/error states.
 * Minimal, responsive, and dependency-free.
 */

.pcstore-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 72px 0;
    text-align: center;
}

.pcstore-state__inner {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
}

.pcstore-state__code {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-size: clamp(64px, 12vw, 112px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

.pcstore-state__title {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.pcstore-state__message {
    max-width: 480px;
    margin: 16px auto 0;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.pcstore-state__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.pcstore-state__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

.pcstore-state__button--primary {
    background: var(--color-primary);
    color: #fff;
}

.pcstore-state__button--primary:hover {
    background: var(--color-primary-hover);
    color: #fff;
}

.pcstore-state__button--secondary {
    border-color: var(--color-border);
    background: #fff;
    color: var(--color-text);
}

.pcstore-state__button--secondary:hover {
    border-color: var(--color-border-strong);
    color: var(--color-text);
}

.pcstore-state__button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .pcstore-state {
        min-height: 360px;
        padding: 56px 0;
    }

    .pcstore-state__message {
        font-size: 14px;
    }

    .pcstore-state__actions {
        gap: 10px;
    }
}

@media (max-width: 374px) {
    .pcstore-state__actions {
        flex-direction: column;
    }

    .pcstore-state__button {
        width: 100%;
    }
}
