
/* =КАРТОЧКА=КАТЕГОРИИ=В=КАТАЛОГЕ= */
/* ===================================================================== */

.catalogcategory-card {
    width: 220px;
    height: fit-content;

    padding: 10px;

    color: var(--color-txt-main);
    text-decoration: none;

    border-radius: 25px;
    background-color: var(--color-bg-containers);
    box-shadow: var(--box-shadow-container);

    display: grid;
    grid-template-columns: 220px;
    grid-template-rows: 220px 60px;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 10px 10px;
    grid-auto-flow: row;
    grid-template-areas:
      "category-card-photo-grid"
      "category-card-name-grid";
}

 .catalogcategory-card-photo { grid-area: category-card-photo-grid;
    width: 100%;
    height: 100%;

    border-radius: 16px;
    object-fit: cover;

    display: block;
}
 .catalogcategory-card-photo > img {
    width: 200px;
    height: 200px;

    padding: 10px;

    border-radius: 16px;
    background-color: var(--color-bg-card-photos);
 }

 .catalogcategory-card-name { grid-area: category-card-name-grid;
    width: 100%;
    height: 100%;

    margin: 0px;

    font-size: var(--font-size-header);
    font-weight: var(--font-weight-default);

    text-align: center;

    display: flex;
    justify-content: center;
    align-items: center;
}