/* ==========================================
   ERROR PAGE — Composant partiel
   Utilisé par : template-product-reviews.php,
                 template-order-reviews.php
   ========================================== */

.error-page-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--desktop-container-padding);
    background: #F5F3EE;
}

.error-page-container {
    max-width: 480px;
    width: 100%;
    text-align: center;
    background: #ffffff;
    padding: 56px 48px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.error-icon {
    margin-bottom: 28px;
}

.error-icon svg {
    color: #CD4E04;
}

.error-title {
    font-family: 'El Messiri', serif;
    font-size: 30px;
    font-weight: 500;
    color: #123524;
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.error-message {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    color: #666666;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.error-button {
    display: inline-block;
    padding: 13px 32px;
    background: #123524;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: background 0.25s ease;
}

.error-button:hover {
    background: #6B7345;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .error-page-wrapper {
        padding: var(--mobile-container-padding);
        align-items: flex-start;
        padding-top: 60px;
    }

    .error-page-container {
        padding: 40px 28px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-icon svg {
        width: 44px;
        height: 44px;
    }
}
