.catalog-tags {
    margin: 1px 0 14px;
}

.catalog-tags__title {
    margin: 0 0 7px;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 600;
}

.catalog-tags__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.catalog-tags__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 5px 10px;
    border: 0;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.catalog-tags__item small {
    color: #fee2e2;
    font-size: 0.66rem;
    font-weight: 700;
}

.catalog-tags__item:hover,
.catalog-tags__item.is-active {
    background: #991b1b;
    color: #fff;
}

.catalog-tags__item:hover small,
.catalog-tags__item.is-active small {
    color: #fff;
}

.catalog-tags__hash {
    color: #fecaca;
    font-weight: 800;
}

.catalog-tags__item:hover .catalog-tags__hash,
.catalog-tags__item.is-active .catalog-tags__hash {
    color: #fff;
}

.catalog-tags-menu__title {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.categories-menu .catalog-tags-menu__item.is-active {
    background-color: rgba(255, 255, 255, 0.4);
}

.catalog-tags-menu__item .category-item-main-bt-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-tags-menu__item small {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7rem;
    font-weight: 700;
}

.catalog-tags-menu__hash {
    font-size: 1.05rem;
    font-weight: 800;
}

.active-tag-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 14px;
    padding: 9px 12px;
    border-left: 3px solid #294e9d;
    border-radius: 0 7px 7px 0;
    background: #edf3ff;
    color: #294e9d;
    font-size: 0.82rem;
}

.active-tag-filter small {
    color: #667085;
}

.active-tag-filter a {
    color: #294e9d;
    font-weight: 700;
    white-space: nowrap;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 10px 10px;
    padding-top: 9px;
    border-top: 1px solid #e8edf6;
    text-align: left;
}

.product-tags--modal {
    margin: 16px 0 0;
    padding-top: 14px;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf3ff;
    color: #294e9d;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.product-tag:hover {
    background: #dce7fa;
    color: #1f4387;
}

@media (max-width: 575.98px) {
    .catalog-tags__item {
        padding: 5px 9px;
        font-size: 0.7rem;
    }

    .active-tag-filter {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-tags {
        margin-right: 6px;
        margin-left: 6px;
    }
}
