/* DS Informática — página de categoria */

.category-page {
    min-height: 60vh;
    padding-bottom: 58px;
    background: #f7f9fc;
}

.category-hero {
    padding: 34px 0 24px;
}

.category-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    min-height: 230px;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 18px;
    box-shadow: 0 12px 38px rgba(15, 23, 42, .045);
}

.category-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 26px;
    color: #98a2b3;
    font-size: 12px;
}

.category-breadcrumb a {
    color: #667085;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    color: #155eef;
}

.category-eyebrow {
    margin: 0 0 7px;
    color: #155eef;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
}

.category-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.category-description {
    max-width: 720px;
    margin: 14px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
}

.category-count {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 11px;
    background: #f2f6fc;
    border-radius: 999px;
    color: #475467;
    font-size: 11px;
    font-weight: 800;
}

.category-hero-image {
    display: flex;
    width: 250px;
    height: 180px;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.category-hero-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-catalog {
    padding-top: 8px;
}

.category-toolbar {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 25px 28px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 15px;
}

.category-toolbar h2 {
    margin: 0;
    color: #172033;
    font-size: 23px;
    letter-spacing: -.025em;
}

.category-toolbar .search {
    width: min(360px, 100%);
}

.category-no-results {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.category-empty {
    padding: 50px 25px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 15px;
    text-align: center;
}

.category-empty strong {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 20px;
}

.category-empty p {
    margin: 0 auto 20px;
    max-width: 560px;
    color: #667085;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .category-hero-inner {
        grid-template-columns: 1fr;
    }

    .category-hero-image {
        width: 100%;
        height: 180px;
    }

    .category-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .category-toolbar .search {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .category-page {
        padding-bottom: 38px;
    }

    .category-hero {
        padding: 18px 0;
    }

    .category-hero-inner {
        gap: 20px;
        min-height: 0;
        padding: 23px 18px;
        border-radius: 13px;
    }

    .category-breadcrumb {
        margin-bottom: 19px;
    }

    .category-hero h1 {
        font-size: 31px;
    }

    .category-hero-image {
        height: 150px;
        padding: 4px;
    }

    .category-toolbar {
        margin-bottom: 16px;
        padding: 20px 17px;
        border-radius: 12px;
    }

    .category-toolbar h2 {
        font-size: 20px;
    }

    /* Regra DS: telefone = um produto por linha */
    .category-catalog .grid {
        grid-template-columns: 1fr;
    }
}
