/* ── Not found (404) ────────────────────────────────────────
   Not designed: the search's No Results Found (Figma 2989:11762)
   — icon, title, buttons, centred — with the categories under.
   ─────────────────────────────────────────────────────────── */

.not-found {
    padding: calc(59px + var(--pad-y)) var(--pad-x) calc(34px + var(--pad-y));
}

.not-found__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: var(--site-max-w);
    margin: 0 auto;
    text-align: center;
}

.not-found__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 91px;
    height: 91px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 0 7.5px rgb(0 0 0 / 0.12);
    color: var(--color-primary);
}

.not-found__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 560px;
}

.not-found__code {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
}

.not-found__title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
}

.not-found__text {
    color: var(--color-text-muted);
    line-height: 20.8px;
}

.not-found__buttons {
    display: flex;
    gap: 10px;
}

.not-found__buttons .button {
    min-width: 162px;
}

/* The category bar's categories, as pills (like the empty basket's) */
.not-found__categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
}

.not-found__categories-title {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 20px;
}

.not-found__categories ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.not-found__categories a {
    display: block;
    padding: 7px 14px;
    border: 1px solid var(--color-secondary);
    border-radius: 99px;
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 20.8px;
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition);
}

.not-found__categories a:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* ── Mobile: buttons stacked, full width ────────────────────── */
@media (max-width: 767px) {
    .not-found {
        padding-top: calc(40px + var(--pad-y));
    }

    .not-found__buttons {
        flex-direction: column;
        align-self: stretch;
    }
}
