/*
 CASE2CASE CATALOG PREPAINT V1.0.1
 Temporary first-paint state.
 Raw SEO/content remains in server HTML.
*/

html.c2c-catalog-prepaint h1.c2c-seo-page-title,
html.c2c-catalog-prepaint nav.c2c-hub-breadcrumbs-wave23,
html.c2c-catalog-prepaint .c2c-seo-semantic[data-page-type="category"],
html.c2c-catalog-prepaint .c2c-human-content,
html.c2c-catalog-prepaint .c2c-category-product-links,
html.c2c-catalog-prepaint #c2c-v2-root > .c2c-v2-loading {
    display: none !important;
}

.c2c-prepaint-shell {
    min-height: 900px;
    pointer-events: none;
}

.c2c-prepaint-sidebar {
    padding: 18px 16px;
    min-height: 820px;
}

.c2c-prepaint-line {
    height: 38px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #eef1f3;
    animation: c2cPrepaintPulse 1.25s ease-in-out infinite alternate;
}

.c2c-prepaint-line-short {
    width: 72%;
}

.c2c-prepaint-main {
    min-width: 0;
}

.c2c-prepaint-hero {
    min-height: 150px;
}

.c2c-prepaint-hero h1 {
    min-height: 44px;
    margin: 0;
    color: #8e9296;
}

.c2c-prepaint-search {
    position: relative;
    height: 94px;
    margin: 10px 0 14px;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    background: #fff;
}

.c2c-prepaint-search::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 16px;
    right: 120px;
    height: 42px;
    border-radius: 11px;
    background: #f1f3f5;
    animation: c2cPrepaintPulse 1.25s ease-in-out infinite alternate;
}

.c2c-prepaint-search::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 16px;
    width: 92px;
    height: 42px;
    border-radius: 11px;
    background: #e9ecef;
    animation: c2cPrepaintPulse 1.25s ease-in-out infinite alternate;
}

.c2c-prepaint-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    margin-bottom: 10px;
}

.c2c-prepaint-toolbar::before {
    content: "";
    width: 100px;
    height: 14px;
    border-radius: 7px;
    background: #edf0f3;
}

.c2c-prepaint-toolbar::after {
    content: "";
    width: 170px;
    height: 36px;
    border-radius: 10px;
    background: #edf0f3;
}

.c2c-prepaint-card {
    min-height: 390px;
    padding: 18px;
    box-sizing: border-box;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    background: #fff;
}

.c2c-prepaint-card::before {
    content: "";
    display: block;
    width: 52%;
    height: 210px;
    margin: 26px auto 34px;
    border-radius: 14px;
    background: #eef1f3;
    animation: c2cPrepaintPulse 1.25s ease-in-out infinite alternate;
}

.c2c-prepaint-card::after {
    content: "";
    display: block;
    width: 78%;
    height: 14px;
    border-radius: 7px;
    background: #eef1f3;
    box-shadow:
        0 28px 0 #f2f4f5,
        0 72px 0 #e7eaed;
    animation: c2cPrepaintPulse 1.25s ease-in-out infinite alternate;
}

@keyframes c2cPrepaintPulse {
    from { opacity: .52; }
    to   { opacity: 1; }
}

@media (max-width: 960px) {
    .c2c-prepaint-shell {
        min-height: 820px;
    }

    .c2c-prepaint-sidebar {
        display: none;
    }

    .c2c-prepaint-card {
        min-height: 330px;
    }

    .c2c-prepaint-card::before {
        height: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .c2c-prepaint-line,
    .c2c-prepaint-search::before,
    .c2c-prepaint-search::after,
    .c2c-prepaint-card::before,
    .c2c-prepaint-card::after {
        animation: none;
    }
}
