/* ==========================================================================
   404 ERROR PAGE STYLES (Women Accessories)
   File: public/assets/css/404.css
   ========================================================================== */

.error-404-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    display: flex;
    overflow: hidden;
}

.error-404-row {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: stretch;
}

/* Left Column: Handbag & Silk Scarf on Pedestal */
.error-404-image-col {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #e9e5e0;
}

.error-404-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Right Column: Centered Editorial Message */
.error-404-content-col {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4.0rem, 5.0vw, 8.0rem) clamp(2.4rem, 4.0vw, 6.0rem);
    background-color: #ffffff;
}

.error-404-content-card {
    max-width: 50rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* Heading: "Oops! This page slipped away" */
.error-404-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3.2rem, 3.8vw, 4.8rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: #111111;
    margin: 0 0 clamp(1.4rem, 1.8vw, 2.2rem) 0;
}

/* Subtitle Description */
.error-404-desc {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 1.0vw, 1.45rem);
    font-weight: 400;
    line-height: 1.55;
    color: #595959;
    margin: 0 0 clamp(2.8rem, 3.4vw, 4.2rem) 0;
    max-width: 44rem;
}

/* CTA Pill Button: "BACK TO HOME ↗" */
.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #35f3ff !important;
    color: #000000 !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.25rem, 0.95vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5rem;
    padding: 0 2.8rem;
    height: clamp(4.8rem, 4.2vw, 5.4rem);
    min-width: 20rem;
    box-shadow: 0 0.4rem 1.6rem rgba(53, 243, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    border: none;
}

.error-404-btn:hover,
.error-404-btn:focus-visible {
    filter: brightness(0.96);
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 2.0rem rgba(53, 243, 255, 0.5);
    color: #000000 !important;
    text-decoration: none;
}

.error-404-btn .cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.error-404-btn:hover .cta-arrow {
    transform: translate(0.25rem, -0.25rem);
}

/* ==========================================================================
   404 ERROR PAGE - RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets (<= 991.98px): Stack image on top, content below */
@media (max-width: 991.98px) {
    .error-404-section {
        min-height: 100vh;
        overflow-y: auto;
    }

    .error-404-row {
        flex-direction: column;
        min-height: auto;
    }

    .error-404-image-col {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: clamp(32rem, 45vh, 44rem);
    }

    .error-404-content-col {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        padding: 4.8rem 2.4rem 6.4rem 2.4rem;
    }

    .error-404-title {
        font-size: 3.4rem;
    }

    .error-404-desc {
        max-width: 48rem;
    }
}

/* Mobile Devices (<= 575.98px) */
@media (max-width: 575.98px) {
    .error-404-image-col {
        height: clamp(26rem, 38vh, 34rem);
    }

    .error-404-content-col {
        padding: 3.6rem 1.6rem 4.8rem 1.6rem;
    }

    .error-404-title {
        font-size: 2.8rem;
    }

    .error-404-desc {
        font-size: 1.3rem;
        margin-bottom: 2.8rem;
    }

    .error-404-btn {
        width: 100%;
        max-width: 28rem;
        height: 5.0rem;
    }
}
