/*
Theme Name: Storefront Child
Theme URI: https://woocommerce.com/storefront/
Description: Tema child personalizzato di Storefront
Author: intutheway
Template: storefront
Version: 1.0.1
Text Domain: storefront-child
*/



/* =====================================
   PAGINA 404 - STOREFRONT CHILD
   ===================================== */


/* ROBOTO */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* PAGINA 404 */
body.custom-error-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    background: #f7f8fa;
}

/* CONTENITORE */
.custom-404 {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
}

/* CONTENUTO */
.custom-404-content {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

/* NUMERO 404 */
.error-number {
    display: block;
    font-size: clamp(110px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -8px;
    color: #e1e4e8;
    margin-bottom: 20px;
}

/* TITOLO */
.custom-404 h1 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
}

/* DESCRIZIONE */
.custom-404 p {
    font-size: 17px;
    line-height: 1.7;
    color: #777;
    margin: 0 auto 30px;
    max-width: 480px;
}

/* PULSANTE */
.button-404 {
    display: inline-block;
    padding: 15px 32px;
    background: #333;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.button-404:hover {
    background: #555;
    color: #fff !important;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 600px) {
    .custom-404 {
        padding: 20px;
    }

    .error-number {
        letter-spacing: -4px;
    }

    .custom-404 p {
        font-size: 15px;
    }
}
