/* error.html — static error card, uses color variables from style.css */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    background: var(--pdp-cream);
    padding: 20px;
}

.err-card {
    background: var(--pdp-white);
    border: 1px solid var(--pdp-border-soft);
    border-radius: 16px;
    max-width: 460px;
    width: 100%;
    padding: 48px 36px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.err-emoji {
    display: inline-block;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
}

.err-code {
    font-size: 64px;
    font-weight: 800;
    color: var(--pdp-red);
    line-height: 1;
    letter-spacing: -1px;
}

.err-bar {
    width: 56px;
    height: 4px;
    background: var(--pdp-gold);
    border-radius: 4px;
    margin: 18px auto 20px;
}

.err-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--pdp-dark);
    margin-bottom: 12px;
}

.err-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--pdp-muted);
    margin: 0 auto 30px;
    max-width: 360px;
}

.err-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.err-btn-home,
.err-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, color 0.2s;
}

.err-btn-home {
    background: var(--pdp-red);
    color: var(--pdp-white) !important;
}

.err-btn-home:hover {
    background: var(--pdp-red-dark);
    transform: translateY(-1px);
}

.err-btn-back {
    background: transparent;
    color: var(--pdp-dark);
    border: 1.5px solid var(--pdp-border-soft);
}

.err-btn-back:hover {
    background: var(--pdp-bg);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .err-card {
        padding: 36px 22px 30px;
    }

    .err-code {
        font-size: 48px;
    }

    .err-title {
        font-size: 19px;
    }

    .err-actions {
        flex-direction: column;
        width: 100%;
    }

    .err-btn-home,
    .err-btn-back {
        width: 100%;
        justify-content: center;
    }
}