/* ==========================================================================
   ESTILOS PÁGINA 404
   ========================================================================== */

.error-page-wrapper {
    margin-top: 140px; /* Compensar navbar */
    margin-bottom: 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Lexend', sans-serif;
}

.error-content {
    max-width: 600px;
    width: 100%;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #eaf6ff; /* Fondo celeste muy suave */
    line-height: 1;
    margin-bottom: -20px;
    /* Texto con borde sutil o sombra */
    text-shadow: 2px 2px 0 #007bff;
    -webkit-text-stroke: 2px #007bff; 
}

.error-content h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.error-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Buscador */
.error-search-box {
    margin: 40px auto;
    max-width: 450px;
}

.error-search-box form {
    display: flex;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 50px;
}

.error-search-box input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
    transition: border-color 0.3s;
    outline: none;
}

.error-search-box input:focus {
    border-color: #007bff;
}

.error-search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.error-search-box button:hover {
    background-color: #0056b3;
    transform: translateY(-50%) scale(1.05);
}

/* Botones de Acción */
.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.error-actions a {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-home {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}
.btn-home:hover {
    border-color: #333;
    background-color: #f9f9f9;
}

.btn-shop {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}
.btn-shop:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
    .error-code { font-size: 80px; }
    .error-content h1 { font-size: 24px; }
    .error-actions { flex-direction: column; gap: 10px; }
    .error-search-box input { padding: 15px 50px 15px 20px; font-size: 14px; }
}