.category-card-item {
    font-family: Montserrat;
    height: 203px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 6px;
    padding: 18px 24px 24px 24px;
    position: relative;
    border-radius: 8px 0 !important;
    background-color: #F9F8F9;
    border: none;
}

.category-card-header {
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    color: black;
    margin-bottom: 22px;
    cursor: pointer;
}

.category-card-header::after {
    content: '∟';
    position: absolute;
    right: 8rem;
    opacity: 0;
    top: 34px;
    transition: all;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    -ms-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.category-card-header:hover::after {
    opacity: 1;
    right: 4rem;
}


.category-card-sub {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: left;
    color: #111111;
    opacity: 60%;
    cursor: pointer;
}

.category-card-sub:hover {
    opacity: 100%;
}

.category-card-sub:not(:last-child) {
    margin-bottom: 12px;
}

.categories-modal-wrapper {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.categories-modal-overlay {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100vw;
    z-index: 10;
    background-color: black;
    opacity: 30%;
}

.categories-modal-window-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100vh;
    top: 0;
    z-index: 50;
}

.categories-modal-window {
    font-size: 24px;
    background-color: white;
    border: none;
    border-radius: 8px;
    opacity: 1;
    z-index: 100;
    padding: 24px;
    margin-right: 16px;
    margin-left: 16px;
    width: calc(100vw - 32px);
    max-width: 688px;
    position: relative;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.categories-modal-header {
    margin-bottom: 16px;
}

.categories-modal-header-name {
    font-weight: 700;
}