.vendor-error {
    padding-block: clamp(32px, 8vw, 104px);
}

.vendor-error-panel {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(24px, 7vw, 72px);
    border: 1px solid #443524;
    border-radius: 20px;
    background: radial-gradient(ellipse at top, #33251a, #191714 65%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
    text-align: center;
}

.vendor-error-code {
    display: block;
    margin-bottom: 16px;
    color: #ffb652;
    font-size: clamp(68px, 14vw, 132px);
    font-weight: 800;
    line-height: .95;
    font-variant-numeric: tabular-nums;
}

.vendor-error-panel h1 {
    margin: 0;
    color: #fff8ec;
    font-size: clamp(24px, 5vw, 44px);
    line-height: 1.16;
    letter-spacing: normal;
}

.vendor-error-panel p {
    max-width: 36ch;
    margin: 14px auto 0;
    color: #d6cfc5;
    font-size: 16px;
    line-height: 1.55;
}

.vendor-error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.vendor-error-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #6b5540;
    border-radius: 12px;
    color: #ffdda8;
    font-weight: 700;
    text-decoration: none;
}

.vendor-error-actions a.vendor-error-home {
    border-color: #ffb652;
    background: #ffb652;
    color: #211409;
}

.vendor-error-actions a:hover,
.vendor-error-actions a:focus-visible {
    outline: 2px solid #ffb652;
    outline-offset: 3px;
}
