/* Contenedor de no hay productos — estilo coherente con tarjeta de contacto */
#products .page-not-found,
.cart-grid .page-not-found,
#js-product-list .page-not-found {
    max-width: 600px;
    border-radius: 25px;
    padding: 0 0 2rem;
    margin: 2rem auto 5rem;
    box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px;
    background-color: var(--color-white);
    overflow: hidden;
}

/* Imagen de alerta — campana centrada, fondo suave */
#products .page-not-found .not-items .alert-img,
.cart-grid .page-not-found .not-items .alert-img,
#js-product-list .page-not-found .not-items .alert-img {
    background-color: var(--color-white);
    text-align: center;
    padding: 1.5rem 0 0;
}

/* Campana en azul primario */
#products .page-not-found .not-items .alert-img img,
.cart-grid .page-not-found .not-items .alert-img img,
#js-product-list .page-not-found .not-items .alert-img img {
    filter: brightness(0) saturate(100%) invert(49%) sepia(52%) saturate(553%) hue-rotate(170deg) brightness(97%) contrast(87%);
}

/* Titulo de la alerta */
#products .page-not-found h4,
.cart-grid .page-not-found h4,
#js-product-list .page-not-found h4 {
    font-family: var(--font-brand);
    font-weight: normal;
    line-height: 1.1;
    color: var(--color-blue);
    font-size: 1.25rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin: 0.5rem 0 1rem;
}

/* Informacion de la alerta */
#products .page-not-found .info-not-items,
.cart-grid .page-not-found .info-not-items,
#js-product-list .page-not-found .info-not-items {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-gray-dark);
    font-weight: normal;
    text-align: center;
    padding: 0 2.5rem;
    margin: 0;
}

/* Centrar tarjeta en categoría vacía */
#main #js-product-list:has(.page-not-found) {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
}

/* Tarjeta de error en página 404 */
#main > .page-not-found {
    max-width: 600px;
    border-radius: 25px;
    padding: 2rem 2.5rem;
    margin: 2rem auto 15rem;
    box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px;
    background-color: var(--color-white);
}

#main > .page-not-found h4 {
    font-family: var(--font-brand);
    font-weight: normal;
    line-height: 1.1;
    color: var(--color-dark-pink);
    font-size: 1.25rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin: 0 0 1rem;
}

#main > .page-not-found p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-gray-dark);
    font-weight: normal;
    text-align: center;
    margin: 0;
}
