.category-entity-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: start;
}

.category-entity-group-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.category-entity-group-header h2 {
    color: #0F0E0D;
    text-align: start;
    font-weight: 400;
}

.on-sale-button button {
    display: flex;
    align-items: center;
    color: #191817;
    font-size: 0.8rem;
    font-family: 'PTSerif';
    font-weight: 700;
    cursor: pointer;
    background-color: transparent;
    border: 0px;
    gap: 0.2rem;
}

.text-button:hover {
    text-decoration: underline;
    text-decoration-color: #191817;
}

.category-entity-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.category-entity-group-grid::-webkit-scrollbar {
    display: none;
}

.category-tile {
    position: relative;
    max-width: 387px;
    max-height: 575px;
    overflow: hidden;
}

.category-tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(199, 14, 14, 0.219));
}

.category-tile-content h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'PTSerif';
}

.category-tile-content h4 {
    font-size: 1.2rem;
    font-family: 400;
    color: #FFFFFF;
    font-family: 'PTSerif';
    opacity: 0.9;
}


@media (max-width: 768px) {
    .category-entity-group-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-tile {
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .category-entity-group-grid {
        grid-template-columns: 1fr;
    }

    .category-tile {
        max-height: 300px;
    }
}