.catalog_body_container {
    width: 90%;
    height: max-content;
    margin: 5rem auto 0;
    padding: 1.2rem;
    position: relative;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.catalog_header_container {
    width: 100%;
    height: 60px;
    display: flex;
    border-radius: 16px;
    padding: 0 1.25rem;
    background-color: var(--catalog-bg);
    box-shadow: var(--card-shadow);
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.catalog_header_container .catalog_title {
    color: var(--catalog-text-color);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}

.logout{
    padding: 0;
}

.logout a{
    color: var(--catalog-text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--body-bg-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 250ms var(--ease-out-soft), color 250ms var(--ease-out-soft), transform 250ms var(--ease-out-soft);
}

.logout a:hover {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    transform: translateY(-2px);
}

.catalog_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
}

.product_container {
    flex: 1;
    min-width: 400px;
    height: max-content;
    position: relative;
    border-radius: 20px;
}

.product_count_text_container{
    width: 100%;
    height: 50px;
    padding: 0 1.25rem;
    align-items: center;
    justify-content: start;
    display: flex;
    border-radius: 16px;
    background-color: var(--catalog-bg);
    box-shadow: var(--box-shadow);
}

.product_count_text{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted-text-color, var(--catalog-text-color));
    margin: 0;
    letter-spacing: 0.01em;
}

.product_list {
    height: auto;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.product_card {
    padding: 14px;
    box-shadow: var(--card-shadow);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--catalog-bg);
    transition: transform 350ms var(--ease-out-soft), box-shadow 350ms var(--ease-out-soft);
}

.product_card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.product_card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

@media (max-width: 800px) {
    .catalog_filter_container {
        display: none;
    }

    .product_container {
        width: 100%;
        min-width: 300px;
    }
}

