.pymnazar-ratings-container {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    gap: 20px;
    padding: 10px;
    background-color: transparent;
    border-radius: 0;
    flex-wrap: wrap;
}

.pymnazar-item {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pymnazar-comments-icon,
.pymnazar-rating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.pymnazar-comments-icon i,
.pymnazar-comments-icon svg,
.pymnazar-rating-icon i,
.pymnazar-rating-icon svg {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #333;
    fill: #333;
}

.pymnazar-comments-text,
.pymnazar-rating-text {
    font-size: 14px;
    color: #333;
}

/* Style for rating when only number is shown */
.pymnazar-rating-text:not(:has(+ .pymnazar-rating-text)) {
    font-weight: 600;
    font-size: 16px;
}

/* Alternative approach for older browsers */
.pymnazar-rating-text.rating-only {
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 767px) {
    .pymnazar-ratings-container {
        align-items: flex-start;
        gap: 10px;
    }
}